Ah, missed that in the wiki, thanks (sorry for not sufficiently RTFM). Worked great.<br><br><div class="gmail_quote">On Mon, May 3, 2010 at 10:41 AM, Joshua Oreman <span dir="ltr"><<a href="mailto:oremanj@rwcr.net">oremanj@rwcr.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Mon, May 3, 2010 at 10:35 AM, Jarrod Johnson<br>
<<a href="mailto:jarrod.b.johnson%2Bgpxe@gmail.com">jarrod.b.johnson+gpxe@gmail.com</a>> wrote:<br>
> If gPXE instance sees, for example, net0 and net1, putting ${mac} on the<br>
> imgarg always does ${net0/mac}, even if net1 was the device that<br>
> successfully started the boot process. Is there a strategy to get the mac<br>
> address for whichever nic successfully boots if you don't know which one it<br>
> will be in advance?<br>
<br>
</div></div>As of fairly recently in gPXE, you can say ${netX/mac} and get the mac<br>
variable for the last-opened network device.<br>
<br>
-- Josh<br>
<div><div></div><div class="h5"><br>
><br>
> _______________________________________________<br>
> gPXE mailing list<br>
> <a href="mailto:gPXE@etherboot.org">gPXE@etherboot.org</a><br>
> <a href="http://etherboot.org/mailman/listinfo/gpxe" target="_blank">http://etherboot.org/mailman/listinfo/gpxe</a><br>
><br>
><br>
</div></div></blockquote></div><br>