X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fdoctor%2Fdoctor-env-presetup.sh;h=ebbf32c015befe498bd1c5ae44f3839c91763551;hb=b7871b1916fc8941c39950a9fb05308432a3a065;hp=61e65c79294c8544e81fc6007082b480e3bf3897;hpb=21b4506e546414bce99f491874e1eec15da3f4a0;p=releng.git 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