Merge "download_images.sh: add --keep option to avoid redownloading images"
authorCedric Ollivier <cedric.ollivier@orange.com>
Fri, 25 Aug 2017 11:30:33 +0000 (11:30 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 25 Aug 2017 11:30:33 +0000 (11:30 +0000)
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