summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/scripts/infra.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/scripts/infra.sh')
-rwxr-xr-xmcp/reclass/scripts/infra.sh2
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