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 --- mcp/deploy/images/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 mcp/deploy/images/.gitkeep (limited to 'mcp/deploy') diff --git a/mcp/deploy/images/.gitkeep b/mcp/deploy/images/.gitkeep new file mode 100644 index 000000000..e69de29bb -- cgit 1.2.3-korg