[et-mgmt-tools] cobbler kickstart does not pull in the http: ks file?

Terry McIntyre terry.mcintyre at gmail.com
Thu Apr 3 22:42:31 UTC 2008


I've been trying to get a kickstart working with cobbler for a while,
and it just isn't working. I am totally missing something, but what?

The target system: IBM  x3850 M/T 8864
Trying to install RHEL 4.4

I added -vvvv flags to /etc/xinet.d/tftp to follow the progress of tftp

Apr  3 22:17:57 admin in.tftpd[3261]: RRQ from 192.168.62.172 filename
/pxelinux.0
Apr  3 22:17:57 admin in.tftpd[3261]: tftp: client does not accept options
Apr  3 22:17:57 admin in.tftpd[3262]: RRQ from 192.168.62.172 filename
/pxelinux.0
Apr  3 22:17:59 admin in.tftpd[3263]: RRQ from 192.168.62.172 filename
/pxelinux.cfg/01-00-14-5e-bc-69-e2
Apr  3 22:17:59 admin in.tftpd[3264]: RRQ from 192.168.62.172 filename
//images/rhel4.4/vmlinuz
Apr  3 22:17:59 admin in.tftpd[3265]: RRQ from 192.168.62.172 filename
//images/rhel4.4/initrd.img

-- which looks reasonable. All files listed above exist, and are
world-readable.

Contents of /pxelinux.cfg/01-00-14-5e-bc-69-e2

default linux
prompt 0
timeout 1
label linux
        kernel /images/rhel4.4/vmlinuz
        append ksdevice=eth0 lang=en_US text
syslog=192.168.63.57:25150  initrd=/images/rhel4.4/initrd.img
ks=http://192.168.63.57/cblr/kickstarts_sys/00:14:5e:bc:69:e2/ks.cfg

Now, when I put the
http://192.168.63.57/cblr/kickstarts_sys/00:14:5e:bc:69:e2/ks.cfg url
in my browser, it works. I also see a log entry at
/etc/http/logs/access_log when I request the page:

192.168.63.245 - - [03/Apr/2008:14:59:03 -0700] "GET
/cblr/kickstarts_sys/00:14:5e:bc:69:e2/ks.cfg HTTP/1.1" 200 1730 "-"
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325
Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"

When I boot the server from the network, I do not see a log entry for
the kickstart file, and it requests a dynamic IP address in spite of
the kickstart file specifying a static IP address.

#System  language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone --utc America/Los_Angeles
#Root password
rootpw changeme
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url http://192.168.63.57/4.4/OneCd/
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part / --fstype ext3 --size 5000
part /boot --fstype ext3 --size 300
part swap --size 10240
part /var --fstype ext3 --size 5120
part /home --fstype ext3 --size 3036
part /opt --fstype ext3 --size 3036
part /usr --fstype ext3 --size 1 --grow
#System authorization infomation
auth  --useshadow  --enablemd5
network --bootproto=static --ip=192.168.62.172 --netmask=255.255.254.0
 --gateway=192.168.62.40 --nameserver=192.168.67.154 --device=eth0
--hostname=rac12.crm.bizsys.tmcs --onboot=on
#Firewall configuration
firewall --disabled
selinux --disabled
# disable the firstboot config
firstboot --disable
#Do not configure XWindows
skipx
#Package install information
%packages --resolvedeps
@ development-tools
@ admin-tools
@ system-tools
@ server-cfg
kernel-smp
grub
e2fsprogs
perl
lynx
postfix
sysstat
%post

hostname rac12.crm.bizsys.tmcs

rpm -e sendmail kudzu redhat-config-mouse kernel-pcmcia-cs ppp rp-pppoe \
        wvdial redhat-config-network-tui redhat-lsb

chkconfig keytable off
chkconfig rhnsd off
chkconfig iptables off
chkconfig xfs off
chkconfig gpm off
chkconfig --level 345 ntpd on
chkconfig --level 345 snmpd on
chkconfig --level 2345 postfix on


Thanks in advance for any assistance!




-- 
Terry McIntyre
UNIX for hire
Software Development, Systems Administration, Security
terry.mcintyre at gmail.com




More information about the et-mgmt-tools mailing list