aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-08-25 11:30:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-25 11:30:33 +0000
commit20f03e5678f7eb2280d8a0c0ec37b18a00a92e3b (patch)
tree0aff0242e55e57f03e286eb9e2a38b7d557df4fb
parent8245094e48cd0b8b810e89120a51b0581b0d78e6 (diff)
parent73d806b31c1cba0ec927698d07209029bbb2e3d0 (diff)
Merge "download_images.sh: add --keep option to avoid redownloading images"
-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 88474d3a7..cc0abc142 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