aboutsummaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-08 17:34:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-08 17:34:50 +0000
commit91312836e649c24d2d0268f1f5c8aa45fdd79a8d (patch)
tree91d7c9bebd44a0eae247732c0c0a4a3d322ef74d /mcp
parente53acf41e4659140e3f78794765bb87f1dc59136 (diff)
parent6f7582ec80f0158baa3b94b637a5738a7b180b2f (diff)
Merge "Move mcp.rsa to /var/lib/opnfv"
Diffstat (limited to 'mcp')
-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 d9b5e6385..94a9bd3c3 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() {