aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-08-25 10:03:25 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2017-08-25 10:03:25 +0200
commit73d806b31c1cba0ec927698d07209029bbb2e3d0 (patch)
treecbb8d5e4aeadde80ab4c35b595823e7e1b2c18ca /functest
parentfb979fc03b8c744ea0f99658cf2edafe55c17299 (diff)
download_images.sh: add --keep option to avoid redownloading images
Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest')
-rw-r--r--functest/ci/download_images.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/functest/ci/download_images.sh b/functest/ci/download_images.sh
index 88474d3a..cc0abc14 100644
--- a/functest/ci/download_images.sh
+++ b/functest/ci/download_images.sh
@@ -20,6 +20,4 @@ https://cloud-images.ubuntu.com/releases/14.04/release/ubuntu-14.04-server-cloud
http://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
EOF
-xz --decompress --force ${1:-/home/opnfv/functest/images}/CentOS-7-aarch64-GenericCloud.qcow2.xz
-
-exit $?
+xz --decompress --force --keep ${1:-/home/opnfv/functest/images}/CentOS-7-aarch64-GenericCloud.qcow2.xz