|
@@ -5,6 +5,7 @@ item --gap Utilities:
|
|
|
item clonezilla ${space} Clonezilla
|
|
|
item hdt ${space} Hardware Detection Tool
|
|
|
item memtest ${space} MemTest86+
|
|
|
+item testpr ${space} Test netboot.xyz branch
|
|
|
choose --default ${menu} menu || goto utils_exit
|
|
|
echo ${cls}
|
|
|
goto ${menu} ||
|
|
@@ -37,11 +38,18 @@ echo Press any key to continue ...
|
|
|
read a
|
|
|
goto utils_exit
|
|
|
|
|
|
-choose --timeout ${timeout} --default ${menu} menu || goto utils_exit
|
|
|
-echo ${cls}
|
|
|
-goto ${menu} ||
|
|
|
-chain ${menu}.ipxe || goto error
|
|
|
-goto linux_exit
|
|
|
+:testpr
|
|
|
+echo This will chainload into a testing branch of netboot.xyz. You'll need to enter
|
|
|
+echo your Github User and the first part of the commit hash of the commit you want to
|
|
|
+echo test. This assumes you are testing from your own fork.
|
|
|
+echo
|
|
|
+echo Specify Github User Name: && read github_user
|
|
|
+echo Specify shortened commit hash of netboot.xyz to be tested ( i.e. 30b7ca ): && read github_hash
|
|
|
+echo
|
|
|
+echo Attempting to chainload:
|
|
|
+echo https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe
|
|
|
+chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe || goto error
|
|
|
+goto utils_exit
|
|
|
|
|
|
:utils_exit
|
|
|
clear menu
|