[node-patches] Change in ovirt-node[master]: Fix bond named issue
hadong0720 at gmail.com
hadong0720 at gmail.com
Mon Aug 5 06:32:49 UTC 2013
hadong has uploaded a new change for review.
Change subject: Fix bond named issue
......................................................................
Fix bond named issue
Previously when auto install it with "bond=bond0:eth1" parameter
it will create a bond named "bond=bond0"
Now fix it to create a bond named "bond0"
Change-Id: I6c9eedb0f5446662d82d43e809962a1f8707b8cb
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/45/17645/1
diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 3b65b8e..b8f7cb8 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -650,6 +650,7 @@
network_layout=${i#network_layout=}
;;
bond=*)
+ i=${i#bond=}
eval $(printf $i|awk -F: '{print "bond_name="$1; print "bond_slaves="$2; print "bond_options="$3;}')
;;
hostname=*)
--
To view, visit http://gerrit.ovirt.org/17645
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6c9eedb0f5446662d82d43e809962a1f8707b8cb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>
More information about the node-patches
mailing list