Hi Jörgen, Thanks for the quick fix.
Can you als add the following issue to; https://github.com/cobbler/cobbler/wiki/2.2.0 Cobbler snippet post_install_network_config ONBOOT=NO is incorrect /var/lib/cobbler/snippets/post_install_network_config 312 #end if 313 314 ## Disable all eth interfaces by default before overwriting 315 ## the old files with the new ones in the working directory 316 ## This stops unneccesary (and time consuming) DHCP queries 317 ## during the network initialization 318 sed -i 's/ONBOOT=yes/ONBOOT=no/g' /etc/sysconfig/network-scripts/ifcfg-eth* 319 320 ## Move all staged files to their final location 321 rm -f /etc/sysconfig/network-scripts/ifcfg-* 322 mv /etc/sysconfig/network-scripts/cobbler/* /etc/sysconfig/network-scripts/ 323 rm -r /etc/sysconfig/network-scripts/cobbler 324 if [ -f "/etc/modprobe.conf" ]; then 325 cat /etc/modprobe.conf.cobbler >> /etc/modprobe.conf 326 rm -f /etc/modprobe.conf.cobbler 327 fi 328 #end if 329 # End post_install_network_config generated code The efffect of line 318 seems to be killed by line 321, so at next boot all the other network cards are trying to boot with DHCP. So line 318 should be moved after line 323, correct? I went back to this solution but perhaps there is a better fix for it; # +--------------------------------------------------------------------------------------- # | 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 Regards, Stefan 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
