summaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-03-08 20:17:22 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2017-03-08 23:10:28 -0800
commit72030a83b2cfa9f0993e22559b2b9a6261abd6b2 (patch)
treee3b73b2f35c43213f779b3c7672cda4ccc0c2953 /tests/ci/load_images.sh
parent270d6092c809e8de039a08efd8c108f865cf860e (diff)
Bugfix: load_images missing space before =
load_images.sh arm64 change had issue with shell load_images.sh: line 34: [: amd64=: unary operator expected https://build.opnfv.org/ci/view/yardstick/job/yardstick-compass-baremetal-daily-master/894/console Change-Id: I14f0b8628db7ac90a4966f85e9e7e27a0e0fae02 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/ci/load_images.sh')
-rwxr-xr-xtests/ci/load_images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index e5a7ae034..f81ee1b26 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -31,7 +31,7 @@ if [ "$INSTALLER_TYPE" == "fuel" ]; then
fi
UCA_HOST="cloud-images.ubuntu.com"
-if [ "${YARD_IMG_ARCH}"= "arm64" ]; then
+if [ "${YARD_IMG_ARCH}" == "arm64" ]; then
export CLOUD_IMG_URL="http://${UCA_HOST}/${release}/current/${release}-server-cloudimg-${YARD_IMG_ARCH}.tar.gz"
if ! grep -q "Defaults env_keep += \"CLOUD_IMG_URL\"" "/etc/sudoers"; then
sudo echo "Defaults env_keep += \"CLOUD_IMG_URL\"" >> /etc/sudoers