summaryrefslogtreecommitdiffstats
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 11:19:57 -0400
commit2281c5aa99424b2ba4a828dccc0c67aaa4b4838c (patch)
tree7709fcfb2e0933c3224648df0c8e82dedf0ba6f1
parente405b1213dcbc16a736e66f69d19fb21ed5b8e03 (diff)
Fix syntax error in overcloud-deploy-functions.sh
Change-Id: Ie13eaac89c8ce60d7e8c36d21437d536c758688a Signed-off-by: Feng Pan <fpan@redhat.com>
-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 a42162f2..96cf242d 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}" \