summaryrefslogtreecommitdiff
path: root/vm-data
diff options
context:
space:
mode:
Diffstat (limited to 'vm-data')
-rwxr-xr-xvm-data/worker.customize2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize
index 8053025..546af18 100755
--- a/vm-data/worker.customize
+++ b/vm-data/worker.customize
@@ -48,7 +48,7 @@ install -m 0644 vm-data/worker.user-key.pub \
# Install an authorized_keys files to allow jenkins on the master node,
# and on the worker itself, to log in with ssh.
cat vm-data/jenkins.user-key.pub vm-data/worker.user-key.pub \
- "$rootdir/var/lib/jenkins/.ssh/authorized_keys"
+ > "$rootdir/var/lib/jenkins/.ssh/authorized_keys"
chmod 0600 "$rootdir/var/lib/jenkins/.ssh/authorized_keys"
# Disable ssh host key checking.