Hi,

I would like to improve my GPXE script to deal with computers which have
2 Ethernet interfaces.

I tried to duplicate the lines in the GPXE script but if there is an
error the script doesn't go further. Example:

#!gpxe
ifopen net0
ifopen net1
dhcp net0
dhcp net1

So, if the second interface doesn't exist for example, the script stops.
Is there a better way to do this?

I have seen that there were some discussions about disabling "exit on
error" in scripts but this patch doesn't seem to be in the actual GPXE
release.

--
Gilles

_______________________________________________
gPXE mailing list
gPXE@etherboot.org
http://etherboot.org/mailman/listinfo/gpxe

Reply via email to