Blame SOURCES/cobbler-rhel6-bonding.patch

1070a0
diff -rupN cobbler-old/snippets/post_install_network_config cobbler-new/snippets/post_install_network_config
1070a0
--- cobbler-old/snippets/post_install_network_config	2012-08-24 15:20:57.543943513 -0400
1070a0
+++ cobbler-new/snippets/post_install_network_config	2012-08-24 15:28:14.298918151 -0400
1070a0
@@ -41,7 +41,9 @@
1070a0
     ## =============================================================================
1070a0
     #set $i = 0
1070a0
     ## setup bonding if we have to
1070a0
+    ## if using bonding, must have an /ect/modpobe.conf file
1070a0
     #if $numbondingdevs > 0
1070a0
+touch "/etc/modprobe.conf"
1070a0
 if [ -f "/etc/modprobe.conf" ]; then
1070a0
     echo "options bonding max_bonds=$numbondingdevs" >> /etc/modprobe.conf
1070a0
 fi