22 lines
435 B
Plaintext
22 lines
435 B
Plaintext
#!ipxe
|
|
|
|
#Init networking
|
|
dhcp
|
|
|
|
#Print useful information for debugging
|
|
echo root-path is ${root-path}
|
|
echo filaneme is ${filename}
|
|
echo MAC address is ${net0/mac}
|
|
echo IP address is ${ip}
|
|
|
|
#Provisioner uses the following pattern: /boot/{mac}
|
|
set server http://${root-path}/boot/${mac:hexhyp}
|
|
echo Server is ${server}
|
|
sleep 5
|
|
|
|
# Download the correct bootscript or continue normal boot
|
|
chain ${server}
|
|
echo should not be reached
|
|
exit
|
|
|