On Wed, Sep 14, 2011 at 4:59 PM, McEvoy, James <[email protected]> wrote:
> Is there a way to have cobbler configure a NIC so it has ONBOOT=no on its 
> sysconfig file on RHEL5.5.
> I have two quad-port gigE cards I am bonding together and a a two port 10gigE 
> card that is not connected to the network.  Since I do not have a 10gigE 
> switch yet is there a way to configure the server in cobbler so the 10gigE 
> ports do not try to start on boot?

This is in the post_install_network_config script:

## Disable all eth interfaces by default before overwriting
## the old files with the new ones in the working directory
## This stops unneccesary (and time consuming) DHCP queries
## during the network initialization
sed -i 's/ONBOOT=yes/ONBOOT=no/g' /etc/sysconfig/network-scripts/ifcfg-eth*

The issue may be that the 10gige cards show up as something else - on
RHEL6 I see them show up as pXpY (ie. p1p1 is the first port on the
first 10gige cards). You could either tweak that line and submit a
patch/ticket to get it in the mainline or just write a custom snippet
that does the same thing.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to