Re: Contents of ks.cfg gets overwritten

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

 




cobbler system add --name=w3.fqdn.com --ksmeta="disks=sda,sdb nameserver=192.168.1.3 netmask=255.255.255.0 gateway=192.168.1.201"

man cobbler, and the wiki and doc webpages are great for this.

the variables usually correspond with keywords that anaconda considers valid within a kickstart file.

so, --hostname=some.host.com, not HOSTNAME



well the following is accepted by cobbler

# cobbler system add --profile=CentOS-4.5-i386 --name=test --ip=192.168.10.23 --mac=00:0C:29:71:D7:4D --hostname=test

but when the system boots it sits waiting for me to add IP information but the netmask and gateway are filled - it is getting them from the .ks

# cat /etc/cobbler/kickstart_CentOS-4.5-i386.ks | grep network
# Use network installation
network --bootproto=static --device=eth0 --onboot=on --netmask 255.255.255.0 --gateway 192.168.10.1 --nameserver 192.168.10.4

can you please advise me on what my template file should look like?

I have looked here

https://hosted.fedoraproject.org/projects/cobbler/wiki/KickstartTemplating

but i cant seem to figure it out

thanks

_______________________________________________
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