<div dir="ltr">Hi,<div><br></div><div><br></div><div>I've been testing migrating to fai 5 from 4.</div><div>I'm currently using fai-5.3.6, on Ubuntu xenial, but with a Debian stretch nfsroot [ due to lack of dracut support in ubuntu ].</div><div><br></div><div>When I build a host, the boot all works ok and the build process starts fine.</div><div>However, the hostname of the instance is somehow getting set to the FQDN.</div><div><br></div><div>It sounds like a small problem, but has a knock on effect on some of our custom class assignment scripts.</div><div><br></div><div>I know that dhcp is sending the correct host-name.</div><div><br></div><div><br></div><div>It looks like FAI set's the HOSTNAME variable from this script passed from dhclient:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>root 1531 0.0 0.0 21484 1076 ? Ss 10:21 0:00 dhclient -lf /dev/null -cf /usr/share/fai/dhclient-fai.conf -sf /usr/share/fai/dhclient-fai-script eth0</div></div></blockquote><div><br></div><div>Am I right in thinking that?</div><div><br></div><div>Any ideas on how I can fix or debug this so HOSTNAME is set to the host-name requested from DHCP?</div><div><br></div><div>It's not even obvious to me where the dhcp config for fai that calls that script is set.</div><div><br></div><div><br></div><div>Any help or info is greatly appreciated.</div><div>Thanks!</div><div><br></div><div><br clear="all"><div><div class="gmail_signature"><div><br></div>Cheers,<div>Just</div></div></div>
</div></div>
<br>
<p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif"><span style="font-size:14.6667px">Notice: This email is confidential and may contain copyright material of members of the Ocado Group. Opinions and views expressed in this message may not necessarily reflect the opinions and views of the members of the Ocado Group. </span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif"><span style="font-size:14.6667px"> </span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif"><span style="font-size:14.6667px">If you are not the intended recipient, please notify us immediately and delete all copies of this message. Please note that it is your responsibility to scan this message for viruses. </span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif"><span style="font-size:14.6667px"> </span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif"><span style="font-size:14.6667px">Fetch and Sizzle are trading names of Speciality Stores Limited and Fabled is a trading name of Marie Claire Beauty Limited, both members of the Ocado Group.</span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif"><span style="font-size:14.6667px"> </span></font></p><p style="margin:0px;background-color:rgb(255,255,255)"><font color="#aeaaaa" face="Calibri, sans-serif" style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><span style="font-size:14.6667px">References to the “Ocado Group” are to Ocado Group plc (registered in England and Wales with number 7098618) and its subsidiary undertakings (as that expression is defined in the Companies Act 2006) from time to time. The registered office of Ocado Group plc is </span></font><font color="#aeaaaa" face="calibri, sans-serif"><span style="font-size:14.6667px">Buildings One & Two, Trident Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9UL</span></font><span style="font-family:Arial,Helvetica,sans-serif;font-size:14.6667px;color:rgb(174,170,170)"><font face="Calibri, sans-serif">.</font></span></p>