[et-mgmt-tools] no substitution for ip_address in kickstart file

Nifty Fedora Mitch niftyfedora at niftyegg.com
Tue Mar 17 01:00:12 UTC 2009


On Thu, Mar 12, 2009 at 10:06:47AM -0700, Terry McIntyre wrote:
> 
> I have a cobbler 1.4.1 installation, and recently a kickstart failed.
> Looking at the
> http://my.host/cblr/svc/op/ks/system/sapcps kickstart file, I find this line:
> 
> network --hostname=sapcps.mydomain --bootproto=static
> --netmask=255.255.254.0 --ip=$ip_address --gateway=192.168.62.40
> --device=eth0 --onboot=on
> 
> The source line in /etc/cobbler/sample.ks is:
> 
> network --hostname=${hostname} --bootproto=static
> --netmask=255.255.254.0 --ip=$ip_address --gateway=$gateway
> --device=eth0 --onboot=on
> 
> $hostname and $gateway are expanded; $ip_address is not.
> 
> These values come from /var/lib/cobbler/config/system.d/sapcps:

I do not know but explore these three different versions.

 --netmask=255.255.254.0 --ip=ip_address --gateway=192.168.62.40
 --netmask=255.255.254.0 --ip=$ip_address --gateway=192.168.62.40
 --netmask=255.255.254.0 --ip=${ip_address} --gateway=192.168.62.40

It is not clear to me where you define "ip_address" and where
you intend to assign it.

See the part about an elephant:
    https://fedorahosted.org/cobbler/wiki/KickstartTemplating


 

-- 
	T o m  M i t c h e l l 
	Found me a new hat, now what?




More information about the et-mgmt-tools mailing list