summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjjb/doctor/doctor-env-presetup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/doctor/doctor-env-presetup.sh b/jjb/doctor/doctor-env-presetup.sh
index 61e65c792..ebbf32c01 100755
--- a/jjb/doctor/doctor-env-presetup.sh
+++ b/jjb/doctor/doctor-env-presetup.sh
@@ -42,6 +42,13 @@ elif [[ ${INSTALLER_TYPE} == 'daisy' ]]; then
echo "No available installer VM exists...exiting"
exit 1
fi
+
+elif [[ ${INSTALLER_TYPE} == 'fuel' ]]; then
+ if [[ ! "${BRANCH}" =~ "danube" ]]; then
+ export SSH_KEY=${SSH_KEY:-/var/lib/opnfv/mcp.rsa}
+ sudo cp ${SSH_KEY} ${installer_key_file}
+ sudo chown `whoami`:`whoami` ${installer_key_file}
+ fi
fi