summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-04-04 06:21:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-04 06:21:24 +0000
commit419a9d9b08419405fd6d3d5eadc3f61703fe1fd5 (patch)
tree619f7edc7acb02e9a8fb4fea4527ee3c9e601b2d /jjb/functest
parent7cdf9fa994e16561918912fcaad4cd3d56ab95fd (diff)
parentf122bfed998b3b0e0178106a7538377c609c6512 (diff)
Merge "add a default value for SSH_KEY"
Diffstat (limited to 'jjb/functest')
-rwxr-xr-xjjb/functest/functest-env-presetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/functest/functest-env-presetup.sh b/jjb/functest/functest-env-presetup.sh
index 4738121de..323b325b4 100755
--- a/jjb/functest/functest-env-presetup.sh
+++ b/jjb/functest/functest-env-presetup.sh
@@ -49,7 +49,7 @@ elif [[ ${INSTALLER_TYPE} == 'daisy' ]]; then
elif [[ ${INSTALLER_TYPE} == 'fuel' ]]; then
if [[ ! "${BRANCH}" =~ "danube" ]]; then
echo "Map mcp ssh_key"
- export sshkey_vol="-v ${SSH_KEY}:/root/.ssh/id_rsa"
+ export sshkey_vol="-v ${SSH_KEY:-/var/lib/opnfv/mcp.rsa}:/root/.ssh/id_rsa"
fi
fi