From 632a4f20ea0acd13d48671f4701440fda5fa739b Mon Sep 17 00:00:00 2001 From: Jo¶rgen Karlsson Date: Fri, 4 Sep 2015 12:06:36 +0200 Subject: Fix yardstick-img-modify bug in CI script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I753de8260e9fe4561ea4bc854b4582f6de5de6dd JIRA: - Signed-off-by: Jo¶rgen Karlsson --- jjb/yardstick/yardstick.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/yardstick') diff --git a/jjb/yardstick/yardstick.yml b/jjb/yardstick/yardstick.yml index ac1442de9..dda76ab4b 100644 --- a/jjb/yardstick/yardstick.yml +++ b/jjb/yardstick/yardstick.yml @@ -246,7 +246,7 @@ IMAGE_NAMES[1]=yardstick-trusty-server if ! nova image-show ${IMAGE_NAMES[1]} > /dev/null 2>&1; then echo "Image ${IMAGE_NAMES[1]} doesn't exist. Creating image ${IMAGE_NAMES[1]}" - sudo yardstick-img-modify $WORKSPACE/tools/ubuntu-server-cloudimg-modify.sh + sudo $(which yardstick-img-modify) $WORKSPACE/tools/ubuntu-server-cloudimg-modify.sh glance image-create --name yardstick-trusty-server --is-public true --disk-format qcow2 --container-format bare --file $WORKSPACE/yardstick-trusty-server.img fi -- cgit 1.2.3-korg