Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!ipxe
- set dhcpTry:uint32 0
- set bootTry:uint32 0
- :retry_dhcp
- inc dhcpTry
- dhcp && goto retry_boot ||
- echo DHCP Failed. Count: ${dhcpTry}
- echo -n Retrying in 3 seconds && sleep 1 && echo -n . && sleep 1 && echo -n . && sleep 1 && echo . ||
- goto retry_dhcp
- :retry_boot
- inc bootTry
- imgfree
- chain ${proxydhcp/next-server}/script.ipxe && exit ||
- echo Boot Failed. Count: ${bootTry}
- echo -n Retrying in 3 seconds && sleep 1 && echo -n . && sleep 1 && echo -n . && sleep 1 && echo . ||
- goto retry_boot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement