<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Thanks,  good to know.<br>btw, I use the following POSIX shell function (IPv4, or course):<br><br>    ip2hex () { printf "%.2X%.2X%.2X%.2X\n" $( echo ${1:-$(hostname -i)} | tr '.' ' ') ;}<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">ip2hex w/o argument gets you the current machine's hex format IP, 'ip2hex IPADDR' converts an ipaddress to hex format<br><br>    ip2hex_le() { ip2hex ${1:?Must Specify an IP Address} | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\2\1\4\3/'  ;}<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">gets you little-endian format (forget why i needed that)<br><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">--stephen<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 10:12 AM, John G Heim <span dir="ltr"><<a href="mailto:jheim@math.wisc.edu" target="_blank">jheim@math.wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just discovered that the syslinux-utils package has a tool called gethostip that displays the PXE file name for a host name. So for example, if you want to figure out the PXE config file name for a workstation named "nitschke", you'd say, "gethostip nitschke". Sample output:<br>
<br>
# gethostip nitschke<br>
<a href="http://nitschke.example.com" rel="noreferrer" target="_blank">nitschke.example.com</a> 192.168.0.66 C0A80042<br>
I know fai-chboot also determines the pxelinux.cfg file name but I would imagine that others do what I do -- once you get one working config file, copy it for the other machines you want to do installs on.<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL<br>303.497.2869   -  <a href="mailto:sdowdy@ucar.edu" target="_blank">sdowdy@ucar.edu</a>        -  <a href="http://www.ral.ucar.edu/~sdowdy/" target="_blank">http://www.ral.ucar.edu/~sdowdy/</a><br><br><br></div>
</div>