Fabian Deutsch has uploaded a new change for review. Change subject: bonding: Prevent initial bond0 creation ......................................................................
bonding: Prevent initial bond0 creation By default bond0 will be created when the bonding module is laoded. To prevent this max_bonds can be set to 0 to prevent the creation of any bonds whenm loading the module. Change-Id: Ic7fb7848e9f2ff00c236a29e2a0b399b49397919 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=989419 Signed-off-by: Fabian Deutsch <[email protected]> --- M modules/Makefile.am A modules/bonding.conf M ovirt-node.spec.in 3 files changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/64/20064/1 diff --git a/modules/Makefile.am b/modules/Makefile.am index 2fc1883..c7f49bc 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -24,6 +24,7 @@ # qla4xxx iscsi hba workaround: rhbz#742433#c32 dist_modprobe_DATA = \ - ovirt-qla4xxx.conf + ovirt-qla4xxx.conf \ + bonding.conf # vim: ts=2 diff --git a/modules/bonding.conf b/modules/bonding.conf new file mode 100644 index 0000000..e6277a7 --- /dev/null +++ b/modules/bonding.conf @@ -0,0 +1,3 @@ +# Prevent the bonding module from creating any bond devices upon loading +# max_bonds only limits the number of devices created on load +options bonding max_bonds=0 diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in index d846549..a4b4975 100644 --- a/ovirt-node.spec.in +++ b/ovirt-node.spec.in @@ -556,6 +556,7 @@ %{_sysconfdir}/ovirt-node/logging.debug.conf %{_sysconfdir}/sysconfig/modules/vlan.modules %{_sysconfdir}/modprobe.d/ovirt-qla4xxx.conf +%{_sysconfdir}/modprobe.d/bonding.conf %{_libexecdir}/ovirt-node/hooks -- To view, visit http://gerrit.ovirt.org/20064 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic7fb7848e9f2ff00c236a29e2a0b399b49397919 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: node-3.0 Gerrit-Owner: Fabian Deutsch <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
