I went through this last week. Unless there's a better way, I added the network lines within the --kopts option for each system.

Dave Ball <db4real@gmail.com> wrote:

One way to do it is when the cobbler menu comes up and you select your kickstart file, hit the TAB key to edit the parameters and add this at the end of the line: ip=192.168.1.244 netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1 ksdevice=eth0



On Sun, Feb 24, 2013 at 7:44 AM, Jakov Sosic <jsosic@srce.hr> wrote:
Hi,

I'm using Cobbler 2.2.3, and have to resort to buildiso.

Now, my problem is that ISO want's my machines to do DHCP, but I don't want them to do that. I want pure static networking during installation process.

Is that possible and how?

I've tried to set following in my kickstart file:

network --bootproto=static --device=eth0 --onboot=on --noipv6 --ip=192.168.1.244 --netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.1

but with no luck. It seems that buildiso configures networking dhcp, because network config gets done before it even pulls kickstart from Cobbler server.


How should I go about this one? Is there a way to force static configuration of network interface for installation?



--
Jakov Sosic
www.srce.unizg.hr
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler