diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-31 03:09:51 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-05 02:20:57 +0200 |
commit | 0fed9ab50ef24816bf0979bece955763fd634189 (patch) | |
tree | 1482c60408547cc757d63e1cec2ee5c890aa58b8 /.gitignore | |
parent | 3a76d07dbd409b781abdb8520f55a1b20edf07db (diff) |
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 <Alexandru.Avadanii@enea.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 1 insertions, 2 deletions
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 |