summaryrefslogtreecommitdiff
path: root/vm-data
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-04-06 11:44:11 +0100
committerLars Wirzenius <liw@liw.fi>2013-04-06 11:44:11 +0100
commit3a4c51c85a66e51377740f2057dfcaab9bf58482 (patch)
tree6e9fbae2b4a5ddb7d64463e5dcd43c9653057a29 /vm-data
parente4526f0f0ba7e25b88d3fe7e60dc40e0f74ca6ac (diff)
downloadjenkinstool-3a4c51c85a66e51377740f2057dfcaab9bf58482.tar.gz
Fix stuff and start adding wheezy workers
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.