summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-09-04 12:06:36 +0200
committerJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-09-04 12:06:36 +0200
commit632a4f20ea0acd13d48671f4701440fda5fa739b (patch)
tree346c82980acd6bfa65f7fb553b02d6cfd7f103a6
parent46fd62a707f5fc241c6701a9f787fd78c8680182 (diff)
Fix yardstick-img-modify bug in CI script
Change-Id: I753de8260e9fe4561ea4bc854b4582f6de5de6dd JIRA: - Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
-rw-r--r--jjb/yardstick/yardstick.yml2
1 files changed, 1 insertions, 1 deletions
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