mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
Adding debug console to ipxe disks
This commit is contained in:
parent
046123e296
commit
13b176a02a
2 changed files with 16 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue