aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-07 20:38:13 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-07 20:47:17 +0200
commit6f7582ec80f0158baa3b94b637a5738a7b180b2f (patch)
treea5d2a3ca7202d5203f2a4a3107f825ab00a04f6a /mcp/scripts
parentac7bb381c5376c28b0eeac880af90b50a2801f38 (diff)
Move mcp.rsa to /var/lib/opnfv
JIRA: FUEL-280 Change-Id: I1e07b0e1597b2a1e4a92e1274f89dda62cb81bb8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts')
-rw-r--r--mcp/scripts/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 1812663d3..38f39fb85 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -17,7 +17,7 @@ generate_ssh_key() {
fi
[ -f "${mcp_ssh_key}" ] || ssh-keygen -f "${mcp_ssh_key}" -N ''
- install -D -o "${user}" -m 0600 "${mcp_ssh_key}" "${SSH_KEY}"
+ sudo install -D -o "${user}" -m 0600 "${mcp_ssh_key}" "${SSH_KEY}"
}
get_base_image() {