aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/load_images.sh
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-06-07 12:33:31 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-06-07 12:33:31 +0000
commit0509cf3e141b550653e642083907a584450a7fdf (patch)
tree9ac0597ca8d7f7e2010be4df5b7ad83dc758c542 /tests/ci/load_images.sh
parent6746ada2e8c837da948c3260ceb8829ea1fc27de (diff)
Bugfix: load_image will move image file if image already exist in /home/opnfv/images
JIRA: YARDSTICK-678 Currently if yardstick-image exist in /home/opnfv/images, load_image.sh script will not build image, but this script will remove it. We should not remove the image file which user offer. Change-Id: I74ff6717606ff1dd9eacde4142e62d3923394baa Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'tests/ci/load_images.sh')
-rwxr-xr-xtests/ci/load_images.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index 2e22b83c2..b1f925ed8 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -145,12 +145,6 @@ load_yardstick_image()
exit 1
fi
- if [[ "$DEPLOY_SCENARIO" == *"-lxd-"* ]]; then
- sudo rm -f -- "${RAW_IMAGE}"
- else
- sudo rm -f -- "${QCOW_IMAGE}"
- fi
-
echo "Glance image id: $GLANCE_IMAGE_ID"
}