[ipxe-devel] [gPXE] How to deal with imgfetch failure in script?
Michael Brown
mbrown at fensystems.co.uk
Fri Oct 11 18:51:08 UTC 2013
On 11/10/13 06:06, Magicloud Magiclouds wrote:
> I need a fallback thing in my boot script. That if chain server1
> failed, then chain server2.
>
> But I did not see any condition branch or error handling stuff. What
> should I do?
Upgrade to iPXE (http://ipxe.org) and use the conditional execution
capabilities documented at
http://ipxe.org/scripting
For example:
chain server1 || chain server2
Michael
More information about the ipxe-devel
mailing list