[gPXE] Variable for 'current' nic?
Jarrod Johnson
jarrod.b.johnson at gmail.com
Mon May 3 12:36:36 EDT 2010
Ah, missed that in the wiki, thanks (sorry for not sufficiently RTFM).
Worked great.
On Mon, May 3, 2010 at 10:41 AM, Joshua Oreman <oremanj at rwcr.net> wrote:
> On Mon, May 3, 2010 at 10:35 AM, Jarrod Johnson
> <jarrod.b.johnson+gpxe at gmail.com <jarrod.b.johnson%2Bgpxe at gmail.com>>
> 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
> > gPXE at etherboot.org
> > http://etherboot.org/mailman/listinfo/gpxe
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe/attachments/20100503/1f604723/attachment.html
More information about the gPXE
mailing list