[Spacewalk-list] Virtualized guest provisioning and static IP

Jan Pazdziora jpazdziora at redhat.com
Fri Dec 9 16:25:05 UTC 2011


On Fri, Dec 02, 2011 at 11:00:46AM +0100, pradelles nicolas wrote:
> Hello,
> I have some virtualization hosts managed by Spacewalk and trying to
> create VM provisioning with a VM static IP.
> 
> Instead the RH Satellite Deployement guide section 6.8.3, in the
> "Virtualization => Provisioning => Advanced Configuration", I can only
> choose DHCP in Network Connection section ("Use DHCP from interface XXX"
> or "DHCP using first available interface").
> 
> I can force a static IP for the installation boot by entering following
> parameters in "kernel options" custom section:
> ip=WWW.WWW.WWW.WWW netmask=XXX.XXX.XXX.XXX dns=YYY.YYY.YYY.YYY
> gateway=ZZZ.ZZZ.ZZZ.ZZZ
> 
> ... but after rebooting the final VM is booting in DHCP instead static
> IP as defined in kickstart file.
> 
> 
> Any idea or advice ?

The behaviour of the system after reboot is driven by configuration
setup by anaconda. The network setup of anaconda is done in
kickstart's Advanced Options, in the network field. I believe your
are looking for something like --bootproto=static. You should be able
to find more in the anaconda configuration for your operating system.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list