This is still valid in FAI 3.0. I also keep on having this problem.

I had a workaround for a while (some scripts adjusting the knoen_hosts
files after each nfsroot build), but the best solution is to try
getting it right in fai-setup instead of running a script after each
nfsroot build.

The problem is, under some circumstances, fai-setup creates a
$LOGUSER_HOME/.ssh/known_hosts with entries that look like this:

172.20.2.2 ssh-rsa AAAAB3NzaC1yc2EAAAA...

This known_hosts file is copied into the nfsroot each time
make-fai-nfsroot is run.

This does lead to problems with logsaving - each time logs should be
saved, the user is asked for confirmation because the host is not
recognized.
Correctly known_hosts files must look like:

172.20.2.2,faitest-server-sarge.filet-internal,faitest-server-sarge
ssh-rsa AAAAB3NzaC1yc2E

I tried to understand the code doing all this, and why it fails, and
under which circumstances, but did not succeed yet.

It must be somewhere in setup_fai_account() but I don't understand the
sed stuff in there.

Henning


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to