[node-patches] Change in ovirt-node[master]: Allow for bonding options in auto install
fabiand at redhat.com
fabiand at redhat.com
Thu Feb 12 13:44:03 UTC 2015
Fabian Deutsch has posted comments on this change.
Change subject: Allow for bonding options in auto install
......................................................................
Patch Set 4: Code-Review-1
(1 comment)
http://gerrit.ovirt.org/#/c/33348/4/scripts/ovirt-init-functions.sh.in
File scripts/ovirt-init-functions.sh.in:
Line 687: ;;
Line 688: bond_setup=*)
Line 689: i=${i#bond_setup=}
Line 690: eval $(printf $i|awk -F: '{print "bond_name="$1; print "bond_slaves="$2; print "bond_options="$3;}')
Line 691: bond_options=${bond_options/,/ }
it should be =${bond_options//,/ } to replace all occurrences of , with " ".
$ export B="1,2,3"
$ echo ${B/,/ }
1 2,3
$ echo ${B//,/ }
1 2 3
Line 692: ;;
Line 693: hostname=*)
Line 694: hostname=${i#hostname=}
Line 695: ;;
--
To view, visit http://gerrit.ovirt.org/33348
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ice355b709d5e1515226fe211786b13489f293d0d
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the node-patches
mailing list