index.html.j2 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. #!ipxe
  2. #### {{ boot_domain }} initial loader ####
  3. #### see https://netboot.xyz for more information ####
  4. {% if bootloader_https_enabled | bool %}
  5. set conn_type https
  6. chain --autofree https://{{ boot_domain }}/menu.ipxe || echo HTTPS failed... attempting HTTP...
  7. {% endif %}
  8. {% if bootloader_http_enabled | bool %}
  9. set conn_type http
  10. chain --autofree http://{{ boot_domain }}/menu.ipxe || echo HTTP failed, localbooting...
  11. {% endif %}
  12. exit
  13. <!DOCTYPE html>
  14. <html lang="en">
  15. <head>
  16. <title>{{ site_name }} BootLoaders - Powered by netboot.xyz</title>
  17. <meta name='description' content='Download links for available {{ site_name }} bootloaders.'>
  18. <style>
  19. table, th, td {
  20. padding: 5px;
  21. border: 1px solid black;
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <div style="font-family: monospace, fixed; font-weight: bold;">
  27. {% if index_title.stdout is defined %}
  28. {{ index_title.stdout }}
  29. {% else %}
  30. <h1>{{ site_name }}</h1>
  31. {% endif %}
  32. <p>
  33. Version: {{ boot_version }}<br>
  34. Powered by <a href=https://netboot.xyz>netboot.xyz</a>
  35. </p>
  36. {% if generate_disks_hybrid == true %}
  37. <p>Legacy and EFI Combined iPXE Bootloaders</p>
  38. <table style="width:100%">
  39. <!-- table header -->
  40. <tr>
  41. <th style="width:10%;"> Type </th>
  42. <th style="width:20%;"> Bootloader </th>
  43. <th style="width:70%;"> Description </th>
  44. </tr>
  45. <!-- table rows -->
  46. {% for item in bootloaders.hybrid %}
  47. <tr>
  48. <td> {{ item.type }} </td>
  49. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  50. <td> {{ item.desc }} </td>
  51. </tr>
  52. {% endfor %}
  53. </table>
  54. {% endif %}
  55. {% if generate_disks_legacy == true %}
  56. <p>Legacy (PCBIOS) iPXE Bootloaders</p>
  57. <table style="width:100%">
  58. <!-- table header -->
  59. <tr>
  60. <th style="width:10%;"> Type </th>
  61. <th style="width:20%;"> Bootloader </th>
  62. <th style="width:70%;"> Description </th>
  63. </tr>
  64. <!-- table rows -->
  65. {% for item in bootloaders.legacy %}
  66. <tr>
  67. <td> {{ item.type }} </td>
  68. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  69. <td> {{ item.desc }} </td>
  70. </tr>
  71. {% endfor %}
  72. </table>
  73. {% endif %}
  74. {% if generate_disks_efi == true %}
  75. <p>UEFI iPXE Bootloaders</p>
  76. <table style="width:100%">
  77. <!-- table header -->
  78. <tr>
  79. <th style="width:10%;"> Type </th>
  80. <th style="width:20%;"> Bootloader </th>
  81. <th style="width:70%;"> Description </th>
  82. </tr>
  83. <!-- table rows -->
  84. {% for item in bootloaders.uefi %}
  85. <tr>
  86. <td> {{ item.type }} </td>
  87. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  88. <td> {{ item.desc }} </td>
  89. </tr>
  90. {% endfor %}
  91. </table>
  92. {% endif %}
  93. {% if generate_disks_arm == true %}
  94. <p>ARM64 iPXE Bootloaders</p>
  95. <table style="width:100%">
  96. <!-- table header -->
  97. <tr>
  98. <th style="width:10%;"> Type </th>
  99. <th style="width:20%;"> Bootloader </th>
  100. <th style="width:70%;"> Description </th>
  101. </tr>
  102. <!-- table rows -->
  103. {% for item in bootloaders.arm %}
  104. <tr>
  105. <td> {{ item.type }} </td>
  106. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  107. <td> {{ item.desc }} </td>
  108. </tr>
  109. {% endfor %}
  110. </table>
  111. {% endif %}
  112. {% if generate_disks_rpi == true %}
  113. <p>Raspberry Pi iPXE Bootloaders</p>
  114. <table style="width:100%">
  115. <!-- table header -->
  116. <tr>
  117. <th style="width:10%;"> Type </th>
  118. <th style="width:20%;"> Bootloader </th>
  119. <th style="width:70%;"> Description </th>
  120. </tr>
  121. <!-- table rows -->
  122. {% for item in bootloaders.rpi %}
  123. <tr>
  124. <td> {{ item.type }} </td>
  125. <td> <a href="ipxe/{{ site_name }}{{ item.output_bin }}">{{ site_name }}{{ item.output_bin }}</a> </td>
  126. <td> {{ item.desc }} </td>
  127. </tr>
  128. {% endfor %}
  129. </table>
  130. {% endif %}
  131. <p>Checksums<p>
  132. <a href="ipxe/{{ site_name }}-sha256-checksums.txt">SHA256 checksums</a>
  133. </div>
  134. </body>
  135. </html>