On Mon, May 3, 2010 at 10:35 AM, Jarrod Johnson
<[email protected]> wrote:
> If gPXE instance sees, for example, net0 and net1, putting ${mac} on the
> imgarg always does ${net0/mac}, even if net1 was the device that
> successfully started the boot process.  Is there a strategy to get the mac
> address for whichever nic successfully boots if you don't know which one it
> will be in advance?

As of fairly recently in gPXE, you can say ${netX/mac} and get the mac
variable for the last-opened network device.

-- Josh

>
> _______________________________________________
> gPXE mailing list
> [email protected]
> http://etherboot.org/mailman/listinfo/gpxe
>
>
_______________________________________________
gPXE mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe

Reply via email to