writing over pxelinux.cfg

Thomas Lange lange at informatik.uni-koeln.de
Tue Jul 20 15:08:06 CEST 2004


>>>>> On Tue, 20 Jul 2004 01:27:38 +0800, "what what" <butdiene at hotmail.com> said:

    > I found that fai writes over the correct version of pxelinux.cfg/ scripts 
    > after a successful installation. This make the scripts not usable any more. 
    > Don't understand how it behaviours this way. Why should it write it even 
    > though it works by itself. Another problem, I couldn't get ride of the 
    > "couldn't add .ssh/known_hosts" in saving logs, from scp.

    > the following rcS.log file shows these problems,

    > Mon Jul 19 03:04:19 CDT 2004
    > The installation took 496 seconds.
    > Calling task_chboot
    > Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).
    > /tmp/target/boot/vmlinuz-*: No such file or directory
    > Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).
    > /tmp/target/boot/initrd.img-*: No such file or directory
    > Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).
    > Kernel parameters: initrd=128.135.160.144-initrd.img
    > append parameters:  initrd=128.135.160.144-initrd.img
    > kernel is 128.135.160.144-localboot
    > rootfs is /dev/hda1
    > 128.135.160.144 has 128.135.160.144 in hex 8087A090
    > Writing file /boot/fai/pxelinux.cfg/8087A090 for 128.135.160.144
    > Calling hook: savelog.LAST
Seems that you are using fai 2.5.4.

In the next fai release (currently available as 2.5.5beta), this has
changed. fai-chboot has now a new option -o and the task_chboot has
changed. We do not need to copy the kernel and initrd from the install
server to the client. Have a look at the beta release, then things
should work.

-- 
regards Thomas



More information about the linux-fai mailing list