Hi James,
>>Yes, or line 318 should be modified to touch the files in the
>>network-scripts/cobbler/ sub-directory instead. That was probably what was
>>intended.
That won't work either as then the cobbler configured nic also gets ONBOOT=NO
in its config file.
I went back to a previous solution provided by someone on this list.
Stefan
#
+---------------------------------------------------------------------------------------
# | 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
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