download_images.sh: add --keep option to avoid redownloading images
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 25 Aug 2017 08:03:25 +0000 (10:03 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 25 Aug 2017 08:03:25 +0000 (10:03 +0200)
Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
functest/ci/download_images.sh

index 88474d3..cc0abc1 100644 (file)
@@ -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