log+ssh problem with fai4

Thomas Lange lange at informatik.uni-koeln.de
Tue Jan 7 11:28:28 CET 2014


>>>>> On Fri, 27 Dec 2013 09:54:59 +0100, Michał Dwużnik <michal.dwuznik at gmail.com> said:

    > every installed host asks for accepting the server ssh key when saving logs
    > (in the same time form within chroot to nfsroot ssh fai at faisrv works fine)

    > and it does not 'disable' pxe booting (default is localboot, after the install
    > I get 'Cannot rename <HEXIP>. Permission denied'
    > files in pxelinux.cfg are owned by root,
This is the same problem. If the root account of an isntall client
can't connect to the LOGUSER account on the install server, you cannot
save the logs and cannot disable the PXE configuration.

By default fai-make-nfsroot will do the ssh setup inside the NFSROOT
if you set LOGUSER in /etc/fai/fai.conf.

But you can try this:

ssh-keyscan <hostname of install server> > /srv/fai/nfsroot/root/.ssh/known_hosts
ssh-keyscan <ip of install server> >> /srv/fai/nfsroot/root/.ssh/known_hosts
cp ~fai/.ssh/id* /srv/fai/nfsroot/root/.ssh


-- 
regards Thomas


More information about the linux-fai mailing list