summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/ci/yardstick-verify9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify
index 3e9aa53cf..c5b42faa5 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -269,9 +269,16 @@ load_yardstick_image()
rm -f $VIVID_KERNEL $VIVID_IMAGE
cd $YARDSTICK_REPO_DIR
fi
+
+ if [ "$DEPLOY_SCENARIO" == "os-nosdn-lxd-ha" -o "$DEPLOY_SCENARIO" == "os-nosdn-lxd-noha" ]; then
+ DISK_FORMAT="raw"
+ else
+ DISK_FORMAT="qcow2"
+ fi
+
output=$(eval glance --os-image-api-version 1 image-create \
--name yardstick-trusty-server \
- --is-public true --disk-format qcow2 \
+ --is-public true --disk-format $DISK_FORMAT \
--container-format bare \
$EXTRA_PARAMS \
--file $QCOW_IMAGE)