Re: no substitution for ip_address in kickstart file

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

 



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?

_______________________________________________
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