[node-patches] Change in ovirt-node[master]: Also recognize bond= at boot

rbarry at redhat.com rbarry at redhat.com
Mon Oct 27 15:33:33 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Also recognize bond= at boot
......................................................................

Also recognize bond= at boot

So EL7 don't need to specify bond_options= and bond= at boot,
recognize the new dracut parameters

Change-Id: I98bff275811670eba28fdd4c11ed322789ec8183
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1156343
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/15/34515/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index ce8f570..9e6a3de 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -685,7 +685,8 @@
             network_layout=*)
             network_layout=${i#network_layout=}
             ;;
-            bond_setup=*)
+            bond_setup=* | bond=*)
+            i=${i#bond=}
             i=${i#bond_setup=}
             eval $(printf $i|awk -F: '{print "bond_name="$1; print "bond_slaves="$2; print "bond_options="$3;}')
             ;;


-- 
To view, visit http://gerrit.ovirt.org/34515
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98bff275811670eba28fdd4c11ed322789ec8183
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list