Hi,
we have this in our snippet post_install_network_config, as somebody else
posted a while back on this email list;
#
+---------------------------------------------------------------------------------------
# | Set all not used interface to ONBOOT=no
#
+---------------------------------------------------------------------------------------
#raw
cd /etc/sysconfig/network-scripts
for iface in ifcfg-*; do
[ -f cobbler/$iface ] && continue
grep ^DEVICE $iface > cobbler/$iface
grep ^HWADDR $iface >> cobbler/$iface
echo "ONBOOT=no" >> cobbler/$iface
echo "BOOTPROTO=none" >> cobbler/$iface
done
#end raw
## Move all staged files to their final location
Regards,
Stefan
-----Oorspronkelijk bericht-----
Van: [email protected]
[mailto:[email protected]] Namens McEvoy, James
Verzonden: donderdag 15 september 2011 0:00
Aan: cobbler mailing list [[email protected]]
Onderwerp: ONBOOT=no
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?
--jim
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
Informatie van de Raad voor de rechtspraak, de rechtbanken, de gerechtshoven en
de bijzondere colleges vindt u op www.rechtspraak.nl.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler