From 8e0b5d2550241d44a9d91bbbb040e3446656a02f Mon Sep 17 00:00:00 2001 From: Vladimir Blokhin Date: Tue, 20 Jun 2017 17:36:39 +0300 Subject: Correct ssh key copy options Change-Id: Iea7a28fcd2ae59bc3ba76bffb42675dfc4bc917d Signed-off-by: Volodymyr Blokhin --- mcp/reclass/scripts/infra.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/reclass/scripts') diff --git a/mcp/reclass/scripts/infra.sh b/mcp/reclass/scripts/infra.sh index 07ee2c75d..1f5e3e44f 100755 --- a/mcp/reclass/scripts/infra.sh +++ b/mcp/reclass/scripts/infra.sh @@ -8,7 +8,7 @@ apt-get install -y mkisofs curl virtinst cpu-checker qemu-kvm # generate ssh key [ -f $SSH_KEY ] || ssh-keygen -f $SSH_KEY -N '' -cp $SSH_KEY /tmp/ +install -o jenkins -m 0600 ${SSH_KEY} /tmp/ # get base image mkdir -p images -- cgit 1.2.3-korg