summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-10-26 11:19:57 -0400
committerFeng Pan <fpan@redhat.com>2016-10-26 15:47:47 +0000
commit394b1f3978cf22c4391750ae4470c57fe3de48f5 (patch)
tree64d4225054dcd04cd580527df6f5487ae295c790 /lib
parentcea599e7f004460686f67c8167ba8eff04e056e5 (diff)
Fix syntax error in overcloud-deploy-functions.sh
Change-Id: Ie13eaac89c8ce60d7e8c36d21437d536c758688a Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/overcloud-deploy-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index a6c43870..ee89aef3 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -121,7 +121,7 @@ EOI
fi
# upgrade ovs into ovs 2.5.90 with NSH function if SFC is enabled
- if [ "${deploy_options_array['sfc']}" == 'True' && "${deploy_options_array['dataplane']}" == 'ovs' ]; then
+ if [[ "${deploy_options_array['sfc']}" == 'True' && "${deploy_options_array['dataplane']}" == 'ovs' ]]; then
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum install -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_kmod_rpm_name}" \
--run-command "yum upgrade -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_rpm_name}" \