Package: fai-server
Version: 3.2.9
Severity: normal

When I try to set my kernel parameters manually, like this for example:

    server:~# fai-chboot -F -k "initrd=initrd.img-2.6.25-2-686 ip=dhcp 
root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live" vmlinuz-2.6.25-2-686 
192.168.100.15
    Kernel parameters: initrd=initrd.img-2.6.25-2-686 ip=dhcp root=/dev/nfs 
nfsroot=/srv/fai/nfsroot boot=live

i get the following content in the file /srv/tftp/fai/pxelinux.cfg/C0A8640F:

    # generated by fai-chboot for host 192.168.100.15 with IP 192.168.100.15
    default fai-generated

    label fai-generated
    kernel vmlinuz-2.6.25-2-686

when it should be:

    shin:~# cat /srv/tftp/fai/pxelinux.cfg/C0A8640F 
    # generated by fai-chboot for host 192.168.100.15 with IP 192.168.100.15
    default fai-generated

    label fai-generated
    kernel vmlinuz-2.6.25-2-686
    append    initrd=initrd.img-2.6.25-2-686 ip=dhcp root=/dev/nfs 
nfsroot=/srv/fai/nfsroot boot=live FAI_FLAGS=verbose,sshd,createvt

That's because of this line in the function mkpxecfg:

    print FILE $append if $rootfs;

Indeed, $rootfs is only set when using -i or -o since this line is commented in 
the 'else' part of the option-detection code:

    #  $rootfs = shift or die "No rootfs specified.\n";

Removing the test on $rootfs in mkpxecfg is a quick fix but there should be 
another solution.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fai-server depends on:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  fai-client                    3.2.9      Fully Automatic Installation clien

Versions of packages fai-server recommends:
ii  bootp                      2.4.3-17      server for the bootp protocol with
ii  dhcp3-server               3.1.1-3       DHCP server for automatic IP addre
ii  nfs-kernel-server          1:1.1.2-6     support for NFS kernel server
ii  openssh-client             1:4.7p1-12    secure shell client, an rlogin/rsh
ii  openssh-server             1:4.7p1-12    secure shell server, an rshd repla
ii  syslinux                   2:3.70+dfsg-3 Kernel loader which uses a FAT, ex
ii  tftpd-hpa                  0.48-2.2      HPA's tftp server

Versions of packages fai-server suggests:
pn  apt-move                      <none>     (no description available)
ii  aptitude                      0.4.11.8-1 terminal-based package manager
pn  debmirror                     <none>     (no description available)
pn  genisoimage                   <none>     (no description available)
ii  grub                          0.97-46    GRand Unified Bootloader (Legacy v
pn  libproc-daemon-perl           <none>     (no description available)
pn  mknbi                         <none>     (no description available)
pn  perl-tk                       <none>     (no description available)

-- no debconf information



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

Reply via email to