[Qa-jenkins-scm] [jenkins.debian.net] 01/11: lvc: jenkins needs to be in libvirt* groups
Holger Levsen
holger at layer-acht.org
Fri May 27 18:15:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 2e0dab2ada4172a8e3889dd6ddba0b26df30fb57
Author: Philip Hands <phil at hands.com>
Date: Thu May 26 21:17:23 2016 +0200
lvc: jenkins needs to be in libvirt* groups
---
update_jdn.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/update_jdn.sh b/update_jdn.sh
index ee258b7..d3e7fb8 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list