Question about cobbler - variable substitution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux