From 06d0e3210b1d53f936729a2b65f474864d46218e Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 5 Jul 2017 20:39:35 +0200 Subject: Add a default value to protect add_images.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It sets a default value to the optional env var: FUNCTEST_IMAGES_DIR Change-Id: Ib78af2aaee27470ad10b0979a68c09963091cbb6 Signed-off-by: Cédric Ollivier --- docker/add_images.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/add_images.sh b/docker/add_images.sh index 1e5382c20..93afbd252 100644 --- a/docker/add_images.sh +++ b/docker/add_images.sh @@ -4,6 +4,8 @@ # and places them in the functest docker image set -e +FUNCTEST_IMAGES_DIR=${FUNCTEST_IMAGES_DIR:-/home/opnfv/functest/images} + CIRROS_REPO_URL=https://download.cirros-cloud.net CIRROS_AARCH64_TAG=161201 CIRROS_X86_64_TAG=0.3.5 -- cgit 1.2.3-korg