Re: network configuration - Cobbler add versus ksmeta

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

 





I just did the following and $nameserver evaluated fine in /var/www/cobbler/kickstarts_sys/X/ks.cfg

cobbler system edit --name=X --ksmeta="nameserver=foo.example.org"

cat /var/www/cobbler/kickstarts_sys/X.ks.cfg | grep foo.example.org

Obviously it won't be evaluated in the profile kickstart because that data was tacked on to the system, not the profile...


for the record the issue here was that my network snippet looked like

network --bootproto=static --device=eth0 --onboot=on --ip=$ip_address --netmask=$netmask --gateway=$gateway --nameserver=$nameserver --hostname=$hostname

and it should have been

network --bootproto=static --device=eth0 --onboot=on --ip=$ip_address --netmask=$subnet --gateway=$gateway --nameserver=$nameserver --hostname=$hostname

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