[et-mgmt-tools] Question about cobbler - variable substitution

Rainer Duffner rainer at ultra-secure.de
Tue Dec 4 17:58:15 UTC 2007


Hi,

I'm doing some tests with cobbler.
I created a kickstart-template with things like:

network --bootproto=static --device=$ksmetadev --onboot=on --ip=$ksip
--netmask=$ksnetmask --gateway=$ksgw --nameserver=$ksns

clearpart --all --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
part pv.2 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.2
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=512
--grow --maxsize=$ksmaxswap
logvol / --fstype ext3 --name=root --vgname=VolGroup00 --size=$ksmaxslash
logvol /var/log --fstype ext3 --name=varlog --vgname=VolGroup00
--size=$ksmaxvarlog
logvol /var/spool --fstype ext3 --name=varspool --vgname=VolGroup00
--size=$ksmaxvarspool --grow


In the "system" config in the webinterface, I have a corresponding
ksmeta entry:
ksgw=192.168.1.1 ksmaxslash=5000 ksmaxvarspool=2048 ksip=192.168.1.3
ksmetadev=eth0 ksnetmask=255.255.255.0 ksmaxswap=1100
kshostname=host1.intern ksmaxvarlog=2048 ksns=192.168.1.2

I can see that the kickstart file that is being fetched doesn't have all
the expansions, yet.

It's fetched from
http://server//cblr/kickstarts/RHEL5.1-i386-mailserver/ks.cfg

Shouldn't the file rather be fetched from the kickstats_sys
subdirectory, where a seemingly correctly built kickstart-file is sitting?
ksvalidator clears the file from the kickstarts_sys subdirectory (but
not, obviously, from the "kickstarts" subdirectory.


Can somebody explain this?



cheers,
Rainer




More information about the et-mgmt-tools mailing list