diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-07-05 20:39:35 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-07-06 07:47:19 +0200 |
commit | 06d0e3210b1d53f936729a2b65f474864d46218e (patch) | |
tree | fd0bb654e16d69eb52c69eddc338bb2794258b96 /docker | |
parent | 26c6f1aefce88a11e241eea7f7bb9fa0d6795b4e (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')
-rw-r--r-- | docker/add_images.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |