[node-patches] Change in ovirt-node[master]: bonding: Prevent initial bond0 creation
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed Sep 18 08:46:18 UTC 2013
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 <fabiand at fedoraproject.org>
---
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/55/19355/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 91da242..1476ee1 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -557,6 +557,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/19355
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7fb7848e9f2ff00c236a29e2a0b399b49397919
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list