diff options
author | Vladimir Blokhin <vladrulez@gmail.com> | 2017-06-20 17:36:39 +0300 |
---|---|---|
committer | Vladimir Blokhin <vladrulez@gmail.com> | 2017-06-20 17:37:38 +0300 |
commit | 8e0b5d2550241d44a9d91bbbb040e3446656a02f (patch) | |
tree | ccdcb62ea00513c5a73c249590b916eed6d85187 | |
parent | f2a813931b01e29783eb927e5962a920a1ada27e (diff) |
Correct ssh key copy options
Change-Id: Iea7a28fcd2ae59bc3ba76bffb42675dfc4bc917d
Signed-off-by: Volodymyr Blokhin <vladrulez@gmail.com>
-rwxr-xr-x | mcp/reclass/scripts/infra.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |