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 /build/README | |
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 'build/README')
0 files changed, 0 insertions, 0 deletions