|
@@ -1,5 +1,6 @@
|
|
#!ipxe
|
|
#!ipxe
|
|
|
|
|
|
|
|
+:utils_menu
|
|
menu Utilities
|
|
menu Utilities
|
|
item --gap Utilities:
|
|
item --gap Utilities:
|
|
{% for key, value in utilitiespcbios.items() | sort(attribute='1.name') %}
|
|
{% for key, value in utilitiespcbios.items() | sort(attribute='1.name') %}
|
|
@@ -8,6 +9,7 @@ item {{ key }} ${space} {{ value.name }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
item --gap netboot.xyz tools:
|
|
item --gap netboot.xyz tools:
|
|
|
|
+item cmdline ${space} Kernel cmdline params: [${cmdline}]
|
|
item nbxyz-custom ${space} Set Github username [user: ${github_user}]
|
|
item nbxyz-custom ${space} Set Github username [user: ${github_user}]
|
|
item testdistro ${space} Test Distribution ISO
|
|
item testdistro ${space} Test Distribution ISO
|
|
item nbxyz ${space} netboot.xyz endpoints
|
|
item nbxyz ${space} netboot.xyz endpoints
|
|
@@ -48,21 +50,28 @@ md5sum memdisk ${util_file}
|
|
boot
|
|
boot
|
|
goto utils_exit
|
|
goto utils_exit
|
|
|
|
|
|
|
|
+:cmdline
|
|
|
|
+echo If you want to change the default kernel command line parameters
|
|
|
|
+echo you can override the defaults here.
|
|
|
|
+echo
|
|
|
|
+echo Currently set to: ${cmdline}
|
|
|
|
+echo
|
|
|
|
+echo -n Enter cmdline parameters: ${} && read cmdline
|
|
|
|
+goto utils_menu
|
|
|
|
+
|
|
:memtest
|
|
:memtest
|
|
imgfree
|
|
imgfree
|
|
kernel {{ utilitiespcbios.memtest.util_path }}
|
|
kernel {{ utilitiespcbios.memtest.util_path }}
|
|
boot
|
|
boot
|
|
-goto utils_exit
|
|
|
|
|
|
+goto utils_menu
|
|
|
|
|
|
:nbxyz-custom
|
|
:nbxyz-custom
|
|
-echo EXPERIMENTAL
|
|
|
|
-echo
|
|
|
|
echo Make sure you have a fork of https://github.com/netbootxyz/netboot.xyz-custom.
|
|
echo Make sure you have a fork of https://github.com/netbootxyz/netboot.xyz-custom.
|
|
echo You can then customize your fork as needed and set up your own custom options.
|
|
echo You can then customize your fork as needed and set up your own custom options.
|
|
echo Once your username is set, a custom option will appear on the main menu.
|
|
echo Once your username is set, a custom option will appear on the main menu.
|
|
echo
|
|
echo
|
|
echo -n Please enter your Github username: ${} && read github_user
|
|
echo -n Please enter your Github username: ${} && read github_user
|
|
-goto utils_exit
|
|
|
|
|
|
+goto utils_menu
|
|
|
|
|
|
:testdistro
|
|
:testdistro
|
|
echo This option will allow you to test booting an ISO using memdisk. Please
|
|
echo This option will allow you to test booting an ISO using memdisk. Please
|
|
@@ -72,7 +81,7 @@ echo -n URL: ${} && read distro_iso
|
|
kernel ${memdisk} iso raw
|
|
kernel ${memdisk} iso raw
|
|
initrd ${distro_iso}
|
|
initrd ${distro_iso}
|
|
boot
|
|
boot
|
|
-goto utils_exit
|
|
|
|
|
|
+goto utils_menu
|
|
|
|
|
|
:utils_exit
|
|
:utils_exit
|
|
clear menu
|
|
clear menu
|