From 751106d3ff6311c6f785075d37a8f31f4e98d95f Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 7 Dec 2015 09:31:02 -0500 Subject: adding quotes to a string check in deploy Change-Id: I41881c914494e329570c76fba9f4e0f1dce50e50 --- ci/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index 9e6c1e08..f163ce34 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -234,7 +234,7 @@ function copy_materials { # ensure stack user on instack machine has an ssh key ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" "if [ ! -e ~/.ssh/id_rsa.pub ]; then ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa; fi" - if [ $virtual == "TRUE" ]; then + if [ "$virtual" == "TRUE" ]; then # fix MACs to match new setup for i in $(seq 0 $vm_index); do pyscript="import json @@ -261,7 +261,7 @@ print data['nodes'][$i]['mac'][0]" # allow stack to control power management on the hypervisor via sshkey # only if this is a virtual deployment - if [ $virtual == "TRUE" ]; then + if [ "$virtual" == "TRUE" ]; then ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <