From: Cédric Ollivier Date: Wed, 5 Jul 2017 18:39:35 +0000 (+0200) Subject: Add a default value to protect add_images.sh X-Git-Tag: 0.2~501 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=06d0e3210b1d53f936729a2b65f474864d46218e;p=functest-xtesting.git Add a default value to protect add_images.sh It sets a default value to the optional env var: FUNCTEST_IMAGES_DIR Change-Id: Ib78af2aaee27470ad10b0979a68c09963091cbb6 Signed-off-by: Cédric Ollivier --- diff --git a/docker/add_images.sh b/docker/add_images.sh index 1e5382c2..93afbd25 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