From 72030a83b2cfa9f0993e22559b2b9a6261abd6b2 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Wed, 8 Mar 2017 20:17:22 -0800 Subject: 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 --- tests/ci/load_images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit 1.2.3-korg