cobbler how to set static ip address for ubuntu

Clint Byrum clint at
Wed May 9 14:25:11 UTC 2012

Excerpts from Shake Chen's message of Wed May 09 05:47:11 -0700 2012:
> Hi
> I have set up orchestra in ubuntu 12.04. use cobbler deploy OS
> the Centos and ubuntu working well .
> Now I need set the static IP address for the node.
> In centos , I have success,
> but for Ubuntu, it no working.
> I read
> can not working.

Hi Shake!

If you want to set the IP address in the pre-seed, edit the kickstart
template and add a section with static IP config:

# Static network configuration.
d-i netcfg/get_nameservers string
d-i netcfg/get_ipaddress string
d-i netcfg/get_netmask string
d-i netcfg/get_gateway string
d-i netcfg/confirm_static boolean true

You can replace any of these with variables, check

sudo cobbler system dumpvars --name=your-system-record

To get the values for the system you want to boot.

More information about the ubuntu-server mailing list