From 6f7582ec80f0158baa3b94b637a5738a7b180b2f Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 7 Sep 2017 20:38:13 +0200 Subject: Move mcp.rsa to /var/lib/opnfv JIRA: FUEL-280 Change-Id: I1e07b0e1597b2a1e4a92e1274f89dda62cb81bb8 Signed-off-by: Alexandru Avadanii --- mcp/scripts/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/scripts') 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() { -- cgit 1.2.3-korg