<div dir="ltr"><div><div><div><div><div><div><div><div>Found ...<br><br></div>reading through the following:<br> - hooks/install.DEFAULT.source <br> - workstation's environment variables<br> - fai output<br><br>... I saw there was a "ROAMING class"<br>
</div>I added it to take benefit of the sssd capabilities if server is offline.<br></div>Removed from 50-host-classes and it's OK<br><br>May be we could change hooks/install.DEFAULT.source </div>from <br>if [ -z "$HOSTNAME" ] || ifclass ROAMING ;<br>
</div>to <br>if [ -z "$HOSTNAME" ] && ifclass ROAMING ;<br></div>or test both successively.<br></div>I leave that to your appreciation.<br><br></div><div>Otherwise I'll create a specific class for sssd capabilities.<br>
</div><div><br></div><div>ahem, ...<br>and sorry for that mistake.<br></div>
<div><br></div>Regards<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 10:40 PM, Julien Lambot <span dir="ltr"><<a href="mailto:jlambot@gmail.com" target="_blank">jlambot@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andi<br><div class="gmail_extra"><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div>
<br>
</div></div>Do you get a menu when booting via PXE? If not, resolving the<br>
hostname from DNS might not work, which results in asking during<br>
installation.<br></blockquote><div><br></div></div><div>No PXE menu when reinstalling. It automatically pics its config from /srv/tftp/fai/pxelinux.cfg/0A0000XX<br><br></div><div>content:<br></div><div><snip><br></div>
<div>
# generated by fai-chboot for host 10.0.0.54 with IP 10.0.0.54<br>default fai-generated<br><br>label fai-generated<br>kernel vmlinuz-3.2.0-4-amd64<br>append initrd=initrd.img-3.2.0-4-amd64 ip=dhcp root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live FAI_FLAGS=verbose,sshd,createvt FAI_CONFIG_SRC=nfs://faiserver/srv/fai/config FAI_ACTION=install<br>
</div><div></snip><br><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Please check the IP-address the machine receives from the DHCP-server.<br>
If it's not 10.0.0.X but 10.0.1.X, then the machine is booted as<br>
'unknown' machine offering to run the live system and installing the<br>
roaming machine.<br>
<br>
Check if you have the machine in dhcpd.conf:<br></blockquote><div><br></div></div><div>it is (was) defined in the dhcp<br>I then removed to redo the procedure. When removed, it picks again the PXE menu with FAI Machine Information, Roaming or Debian Install.<br>
</div><div>I did add it again with debian-lan add2dhcp.<br></div><div>Then, it picked the correct IP address and hostname (hostname -f -> workstation04.intern) and was resolvable and ping-able from the server.<br><br>
Though it keeps asking for a new hostname.<br>
I'll check through the corresponding script and try to sort it out.<br><br></div><div>Don't worry testing that, it's not worth your time ;)<br><br></div><div>Regards<span><font color="#888888"><br>
Julien<br></font></span></div></div></div></div>
</blockquote></div><br></div></div>