[cobbler] Explicitly disable interface

James Cammarata jimi at sngx.net
Tue Nov 6 05:07:59 UTC 2012


On Mon, Nov 5, 2012 at 9:17 AM, Mezei Zoltan <mezei.zoltan at gmail.com> wrote:
> Hi,
>
> I've got a machine with 4 interfaces, eth0, eth1, eth2 and eth3. I'm
> trying to set up eth0-eth1 in bonding for one network, eth3 for
> another network with some static routes. This works perfectly.
>
> However when I first start the machine (with RHEL5 installed) kudzu
> finds eth2 and configures it to use DHCP. I don't want this to happen,
> so I'd like cobbler to assign a configuration to the interface with
> ONBOOT=no.
>
> Can it be achieved somehow? (I know that I can add a %post script to
> my kickstart that generates an ifcfg-eth2 file - but can this setup be
> achieved by cobbler only?)

If you're including the post_install_network_config snippet in your
%post section, this should be done automatically for you. Another good
thing to do (which we always do too) is to execute "chkconfig kudzu
off" in %post so it won't start during your boot.


More information about the cobbler mailing list