Hi all,
I seem not to have rights to send anything to the Yardstick gerrit
(probably because I am not a contributor?),
but here is a patch to the yardstick-img-modify script. I wasted some
time because of this, so hopefully this will help the next guy.
-Tapio
commit cc6e6f9f04b7ee6b39b091c5fee6d7d212d9c9a1
Author: Tapio Tallgren <tapio.tallg...@nokia.com>
Date: Thu Sep 29 15:51:45 2016 +0300
Add default value amd64 to YARD_IMG_ARCH
Signed-off-by: Tapio Tallgren <tapio.tallg...@nokia.com>
diff --git a/tools/yardstick-img-modify b/tools/yardstick-img-modify
index 07f10b3..2913fc3 100755
--- a/tools/yardstick-img-modify
+++ b/tools/yardstick-img-modify
@@ -41,6 +41,8 @@ mountdir="/mnt/yardstick"
workspace=${WORKSPACE:-"/tmp/workspace/yardstick"}
host=${HOST:-"cloud-images.ubuntu.com"}
release=${RELEASE:-"trusty"}
+# Set default value amd64 for YARD_IMG_ARCH
+if [ -z $YARD_IMG_ARCH ]; then YARD_IMG_ARCH="amd64"; fi
image_path="${release}/current/${release}-server-cloudimg-${YARD_IMG_ARCH}-disk1.img"
image_url=${IMAGE_URL:-"https://${host}/${image_path}"}
md5sums_path="${release}/current/MD5SUMS"
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss