Hi Tapio,

Thanks for your great patch. 

I already added you into Yardstick Contributors list. But I guess this is not 
the key point for this issue.

I guess you need to send email to help-desk( or Aric) to apply right  
opnfv-helpd...@rt.linuxfoundation.org

Regards,
Kubi

-----邮件原件-----
发件人: opnfv-tech-discuss-boun...@lists.opnfv.org 
[mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] 代表 Tapio Tallgren
发送时间: 2016年9月29日 21:15
收件人: opnfv technical mailing list
主题: [opnfv-tech-discuss] [Yardstick] Patch to Yardstick master

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
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to