<div>If the project is interested, I patched gPXE to add another capability.  I was trying to make gPXE present to boot mac in the same format as pxelinux IPAPPEND, but they didn&#39;t use colons.  A lot of linux installers/netboot code understands BOOTIF as-is, so this was required to evoke those features.  So I added a ${netX/machyp} so I could have hyphenated mac addresses like pxelinux did.  Also, to poster, I recommend you use netX instead of net0.  net0 will always be the &#39;first&#39; nic, netX will be whatever nic you booted from.if you really want a reliable per-host identifier rather than per-interface, I would eye uuid a little more closely. You may encounter a situation where predicting which interface would be &#39;net0&#39; could be difficult.</div>
<div><br></div><div>Here is the patch I used.</div><div><br></div><a href="http://xcat.svn.sf.net/svnroot/xcat/xcat-dep/trunk/gpxe/gpxe-1.0.0-hyphenatedmachyp.patch">http://xcat.svn.sf.net/svnroot/xcat/xcat-dep/trunk/gpxe/gpxe-1.0.0-hyphenatedmachyp.patch</a><br>
<br><div class="gmail_quote">On Mon, Aug 2, 2010 at 7:21 PM, Doug Shove <span dir="ltr">&lt;<a href="mailto:dsshove@gmail.com">dsshove@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>I&#39;m wondering the best way to approach this issue:  I have TFTP server running on a Windows box.  I&#39;d like to have a single file per MAC address on the TFTP server.  gPXE clients would then retrieve the file:<br>

tftp://&lt;server&gt;/clients/${net0/mac}<br><br>The problem is that Windows doesn&#39;t support colon &#39;:&#39; in the file name, however it does support dash &#39;-&#39;.<br><br>What would be the best approach (in code or otherwise) to choose the format for a MAC address within gPXE?<br>

<br><br>Thank you,<br><font color="#888888"><br>Doug Shove<br>
</font><br>_______________________________________________<br>
gPXE-devel mailing list<br>
<a href="mailto:gPXE-devel@etherboot.org">gPXE-devel@etherboot.org</a><br>
<a href="http://etherboot.org/mailman/listinfo/gpxe-devel" target="_blank">http://etherboot.org/mailman/listinfo/gpxe-devel</a><br>
<br></blockquote></div><br>