summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-03-20 02:32:51 +0000
committerJing Lu <lvjing5@huawei.com>2017-03-21 01:58:29 +0000
commit4e7f3a9419f135bff9bc6a3d7f6e67401b33beeb (patch)
treed1caadfbef95a15e5fe7ddc7ec8a0ba6234c036f /tests
parentc151f02d0f66b81e6408503b5a4a4737c5f46276 (diff)
update lxd image disk format for openstack CLI
JIRA: YARDSTICK-598 As we have replaced 'glance image-create' command with 'openstack image create' command, we also need to update the disk-format for openstack CLI. the 'root-tar' is no longer a valid choice. (choose from 'ami', 'ari', 'aki', 'vhd', 'vmdk', 'raw', 'qcow2', 'vhdx', 'vdi', 'iso', 'ploop') Change-Id: I53f839f658c5a6f216f5bb942b1c4f4dcdbf9814 Signed-off-by: JingLu5 <lvjing5@huawei.com> (cherry picked from commit d64fbf2f276a98a7cc37d92c57f5b7f3517286b8)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ci/load_images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index f81ee1b26..c0f9131d9 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -114,7 +114,7 @@ load_yardstick_image()
if [[ "$DEPLOY_SCENARIO" == *"-lxd-"* ]]; then
output=$(eval openstack image create \
--public \
- --disk-format root-tar \
+ --disk-format raw \
--container-format bare \
$EXTRA_PARAMS \
--file $RAW_IMAGE \