11 lines
381 B
Plaintext
11 lines
381 B
Plaintext
#!ipxe
|
|
dhcp && goto netboot || goto dhcperror
|
|
|
|
:dhcperror
|
|
prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot
|
|
|
|
:netboot
|
|
#chain tftp://${next-server}/main.ipxe ||
|
|
chain tftp://172.18.142.6/main.ipxe ||
|
|
prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot
|