summaryrefslogtreecommitdiff
path: root/vm-data/worker.customize
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-12-25 20:29:25 +0200
committerLars Wirzenius <liw@liw.fi>2014-12-25 20:29:25 +0200
commit98c4cf34bb0326f59102820fa6a314d7414b5f3e (patch)
treeef2cfab36d63de0e249f33509e4c2e385dc0a182 /vm-data/worker.customize
parent86f1fd5d0b8e51df63adb47d3a6fce05ead2fa03 (diff)
downloadjenkinstool-98c4cf34bb0326f59102820fa6a314d7414b5f3e.tar.gz
Clean up for creating VMs under jessie
Diffstat (limited to 'vm-data/worker.customize')
-rwxr-xr-xvm-data/worker.customize6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize
index cf81daa..56ce661 100755
--- a/vm-data/worker.customize
+++ b/vm-data/worker.customize
@@ -71,3 +71,9 @@ EOF
# Append addresses to /etc/hosts.
cat vm-data/hosts >> "$rootdir/etc/hosts"
+
+# Force loading of the fuse kernel module.
+echo fuse >> "$rootdir/etc/modules"
+
+# Add the jenkins user to the fuse group.
+chroot "$rootdir" adduser jenkins fuse