From 0fed9ab50ef24816bf0979bece955763fd634189 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 31 Aug 2017 03:09:51 +0200 Subject: ci/deploy.sh, lib.sh: Align SSH_KEY with Jenkins Jenkins defines a build param also called SSH_KEY, which holds the full path to our MCP private RSA key, as opposed to Fuel@OPNFV, which uses the file basename as SSH_KEY. Switch to using full path in SSH_KEY, while also moving the key outside /tmp. NOTE: When running `ci/deploy.sh` with sudo, key will land in /root/opnfv/mcp.rsa unless SSH_KEY is set via env var. While at it, bring back VM image storage dir param, allowing us to drop one more reference to /tmp. JIRA: FUEL-280 Change-Id: Id1cfa6dbe7b2e6f3915b22281da5957333718401 Signed-off-by: Alexandru Avadanii --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 20bd388d8..72e939cfd 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ deploy/autodeploy.log /docs_build/ /docs_output/ /releng/ -mcp/scripts/images/mcp_*iso -mcp/scripts/images/mcp_*qcow2 +mcp/deploy/images/ mcp/scripts/mcp.rsa* mcp/scripts/user-data.sh -- cgit 1.2.3-korg