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">&lt;<a href="mailto:oremanj@rwcr.net">oremanj@rwcr.net</a>&gt;</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>
&lt;<a href="mailto:jarrod.b.johnson%2Bgpxe@gmail.com">jarrod.b.johnson+gpxe@gmail.com</a>&gt; wrote:<br>
&gt; If gPXE instance sees, for example, net0 and net1, putting ${mac} on the<br>
&gt; imgarg always does ${net0/mac}, even if net1 was the device that<br>
&gt; successfully started the boot process.  Is there a strategy to get the mac<br>
&gt; address for whichever nic successfully boots if you don&#39;t know which one it<br>
&gt; 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>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gPXE mailing list<br>
&gt; <a href="mailto:gPXE@etherboot.org">gPXE@etherboot.org</a><br>
&gt; <a href="http://etherboot.org/mailman/listinfo/gpxe" target="_blank">http://etherboot.org/mailman/listinfo/gpxe</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>