Adding debug console to ipxe disks

This commit is contained in:
Antony Messerli 2015-09-04 23:17:35 -05:00
parent 046123e296
commit 13b176a02a
2 changed files with 16 additions and 2 deletions

View file

@ -3,9 +3,11 @@
:start
set version 1
echo netboot.xyz iPXE loader v${version}
goto dhcp
:dhcp
dhcp || goto static
prompt --key m --timeout 4000 Hit the ${bold}d${boldoff} key to open the debug console && goto debug || goto start
goto start
:static
@ -21,7 +23,7 @@ echo Attempting chainload of netboot.xyz...
goto start || goto failsafe
:start
chain http://cdn.netboot.xyz/menu.ipxe
chain --autofree http://cdn.netboot.xyz/menu.ipxe
goto boot
:failsafe
@ -30,3 +32,8 @@ goto start
:boot
sanboot --no-describe --drive 0x80
:debug
echo Type "exit" to return to menu
shell
goto start

View file

@ -3,6 +3,8 @@
:start
set version 1
echo netboot.xyz iPXE loader v${version}
prompt --key m --timeout 4000 Hit the ${bold}d${boldoff} key to open the debug console && goto debug || goto start
goto static
:static
echo Please enter in the networking information of your Cloud Server:
@ -17,7 +19,7 @@ echo Attempting chainload of netboot.xyz...
goto start || goto failsafe
:start
chain http://cdn.netboot.xyz/menu.ipxe
chain --autofree http://cdn.netboot.xyz/menu.ipxe
goto boot
:failsafe
@ -26,3 +28,8 @@ goto start
:boot
sanboot --no-describe --drive 0x80
:debug
echo Type "exit" to return to menu
shell
goto start