From 73d806b31c1cba0ec927698d07209029bbb2e3d0 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 25 Aug 2017 10:03:25 +0200 Subject: [PATCH] download_images.sh: add --keep option to avoid redownloading images Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437 Signed-off-by: Morgan Richomme --- functest/ci/download_images.sh | 4 +--- 1 file changed, 1 insertion(+), 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 -- 2.16.6