bugfix: missing mcp ssh_key mapping
[releng.git] / jjb / functest / functest-env-presetup.sh
index b7d33e7..4738121 100755 (executable)
@@ -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