summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index ee258b7a..d3e7fb8f 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -78,6 +78,12 @@ for user in helmut holger mattia lunar phil ; do
sudo usermod -G $extra_groups $user
done
+if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
+ # jenkins needs access to libvirt
+ sudo adduser jenkins libvirt
+ sudo adduser jenkins libvirt-qemu
+fi
+
sudo mkdir -p /srv/workspace
[ -d /srv/schroots ] || sudo mkdir -p /srv/schroots
[ -h /chroots ] || sudo ln -s /srv/workspace/chroots /chroots