1234567891011121314151617181920212223242526272829303132333435 |
- #!ipxe
- :start
- set version 1
- echo netboot.xyz iPXE loader v${version}
- prompt --key d --timeout 4000 Hit the ${bold}d${boldoff} key to open the debug console && goto debug || goto static
- goto static
- :static
- echo Please enter in the networking information of your Cloud 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 http://cdn.netboot.xyz/menu.ipxe
- 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
|