From 9241b9a17f5a785b7bd3e70024921f632c96dc1c Mon Sep 17 00:00:00 2001 From: misthios Date: Tue, 5 Mar 2024 09:59:30 +0100 Subject: [PATCH] ipxe: debug using sleep --- ipxe/netboot.ipxe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipxe/netboot.ipxe b/ipxe/netboot.ipxe index 459577a..e3cedb5 100644 --- a/ipxe/netboot.ipxe +++ b/ipxe/netboot.ipxe @@ -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