mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2025-09-03 21:01:07 +02:00
Drop older bootloader scripts
This commit is contained in:
parent
4ab9a64be8
commit
3ed959d28c
@ -1,40 +0,0 @@
|
|||||||
#!ipxe
|
|
||||||
|
|
||||||
:start
|
|
||||||
set version 1.03
|
|
||||||
echo netboot.xyz iPXE loader v${version}
|
|
||||||
goto dhcp
|
|
||||||
|
|
||||||
:dhcp
|
|
||||||
dhcp || goto static
|
|
||||||
goto menu
|
|
||||||
|
|
||||||
:static
|
|
||||||
echo DHCP Server not found, enabling manual override:
|
|
||||||
imgfree
|
|
||||||
ifclose net0
|
|
||||||
echo -n IP: && read net0/ip
|
|
||||||
echo -n Subnet mask: && read net0/netmask
|
|
||||||
echo -n Gateway: && read net0/gateway
|
|
||||||
echo -n DNS: && read dns
|
|
||||||
ifopen net0
|
|
||||||
echo Attempting chainload of netboot.xyz...
|
|
||||||
goto menu || goto failsafe
|
|
||||||
|
|
||||||
:menu
|
|
||||||
chain --autofree https://boot.netboot.xyz/menu.ipxe || echo HTTPS appears to have failed... attempting HTTP
|
|
||||||
sleep 5
|
|
||||||
chain --autofree http://boot.netboot.xyz/menu.ipxe || echo HTTP has failed, localbooting...
|
|
||||||
goto boot
|
|
||||||
|
|
||||||
:failsafe
|
|
||||||
echo Attempt to load netboot.xyz failed... restarting...
|
|
||||||
goto start
|
|
||||||
|
|
||||||
:boot
|
|
||||||
sanboot --no-describe --drive 0x80
|
|
||||||
|
|
||||||
:debug
|
|
||||||
echo Type "exit" to return to menu
|
|
||||||
shell
|
|
||||||
goto start
|
|
@ -1,36 +0,0 @@
|
|||||||
#!ipxe
|
|
||||||
|
|
||||||
:start
|
|
||||||
set version 1.03
|
|
||||||
echo netboot.xyz iPXE loader v${version}
|
|
||||||
goto static
|
|
||||||
|
|
||||||
:static
|
|
||||||
echo Please enter in the networking information of your Server:
|
|
||||||
imgfree
|
|
||||||
ifclose net0
|
|
||||||
echo -n IP: && read net0/ip
|
|
||||||
echo -n Subnet mask: && read net0/netmask
|
|
||||||
echo -n Gateway: && read net0/gateway
|
|
||||||
echo -n DNS: && read dns
|
|
||||||
ifopen net0
|
|
||||||
echo Attempting chainload of netboot.xyz...
|
|
||||||
goto menu || goto failsafe
|
|
||||||
|
|
||||||
:menu
|
|
||||||
chain --autofree https://boot.netboot.xyz/menu.ipxe || echo HTTPS appears to have failed... attempting HTTP
|
|
||||||
sleep 5
|
|
||||||
chain --autofree http://boot.netboot.xyz/menu.ipxe || echo HTTP has failed, localbooting...
|
|
||||||
goto boot
|
|
||||||
|
|
||||||
:failsafe
|
|
||||||
echo Attempt to load netboot.xyz failed... restarting...
|
|
||||||
goto start
|
|
||||||
|
|
||||||
:boot
|
|
||||||
sanboot --no-describe --drive 0x80
|
|
||||||
|
|
||||||
:debug
|
|
||||||
echo Type "exit" to return to menu
|
|
||||||
shell
|
|
||||||
goto start
|
|
Loading…
x
Reference in New Issue
Block a user