Artifactory/ipxe/netboot.ipxe

22 lines
435 B
Plaintext
Raw Normal View History

2024-02-13 13:47:39 +00:00
#!ipxe
#Init networking
dhcp
#Print useful information for debugging
2024-03-05 11:28:09 +00:00
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}
2024-03-05 11:28:09 +00:00
set server http://${root-path}/boot/${mac:hexhyp}
2024-03-05 08:59:30 +00:00
echo Server is ${server}
sleep 5
2024-03-05 11:28:09 +00:00
# Download the correct bootscript or continue normal boot
2024-03-05 11:52:58 +00:00
chain ${server}
echo should not be reached
exit