Blame SOURCES/cobbler-rhel6-bonding.patch

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