summaryrefslogtreecommitdiffstats
path: root/docker/add_images.sh
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-07-05 20:39:35 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-07-06 07:47:19 +0200
commit06d0e3210b1d53f936729a2b65f474864d46218e (patch)
treefd0bb654e16d69eb52c69eddc338bb2794258b96 /docker/add_images.sh
parent26c6f1aefce88a11e241eea7f7bb9fa0d6795b4e (diff)
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 <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/add_images.sh')
-rw-r--r--docker/add_images.sh2
1 files changed, 2 insertions, 0 deletions
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