diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-03-29 18:06:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-29 18:06:01 +0000 |
commit | a2ffc4d1f172b81ec1bdf4ba7e8b00a199b97660 (patch) | |
tree | 0b3ea3467079b851f9bc6dadbc6dce376a460e5b /jjb/functest | |
parent | a8e45a0415963d8936d86df1c635f7ebec4aa5e0 (diff) | |
parent | 5f3ff20c66449604aaf89a1e7e441d67277a4840 (diff) |
Merge "bugfix: missing mcp ssh_key mapping"
Diffstat (limited to 'jjb/functest')
-rwxr-xr-x | jjb/functest/functest-env-presetup.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/functest/functest-env-presetup.sh b/jjb/functest/functest-env-presetup.sh index b7d33e760..4738121de 100755 --- a/jjb/functest/functest-env-presetup.sh +++ b/jjb/functest/functest-env-presetup.sh @@ -45,5 +45,11 @@ elif [[ ${INSTALLER_TYPE} == 'daisy' ]]; then echo "No available installer VM exists...exiting" exit 1 fi + +elif [[ ${INSTALLER_TYPE} == 'fuel' ]]; then + if [[ ! "${BRANCH}" =~ "danube" ]]; then + echo "Map mcp ssh_key" + export sshkey_vol="-v ${SSH_KEY}:/root/.ssh/id_rsa" + fi fi |