[gPXE] Dual ethernet card

Gilles Martin gilles.martin at psi.ch
Thu Jul 29 08:23:50 EDT 2010


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



More information about the gPXE mailing list