Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling DHCP timeouts in script
2012-11-13, 04:39
Post: #7
RE: Handling DHCP timeouts in script
I can't get a retry in either error phase of my script, the DHCP request or the sanboot. Any error in either one generates the "No more network devices" prompt, at which point I'm dumped back to the BIOS. There doesn't appear to be any error handling at all. My current script is quite simple. I can't see why neither goto is working...

#!ipxe

:retry_dhcp
dhcp || goto retry_dhcp

set initiator-iqn iqn.2010-04.org.ipxe:${mac:hexhyp}
sanboot iscsi:10.0.0.1:::0:iqn.2008-08.com.target:prod-disk1 ||
sleep 1
goto retry_dhcp
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Handling DHCP timeouts in script - digitalis99 - 2012-11-13 04:39



User(s) browsing this thread: 1 Guest(s)