ipxe: debug using sleep
Some checks failed
build ipxe / make ipxe (push) Failing after 13s

This commit is contained in:
misthios 2024-03-05 09:59:30 +01:00
parent 972229c858
commit 9241b9a17f

View File

@ -11,6 +11,8 @@ echo IP address is ${ip}
#Provisioner uses the following pattern: /boot/{mac}
set server http://${next-server}/boot/${mac:hexhyp}
echo Server is ${server}
sleep 5
# Make an HTTP HEAD request to check if the URL exists
http ${server} head || goto link_does_not_exist
@ -20,6 +22,7 @@ isset ${http_status} || goto link_does_not_exist
iseq ${http_status} 200 && goto link_exists
:link_does_not_exist
sleep 5
echo Link ${server} does not exist, booting from next bios/uefi target
exit