summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2016-09-24 23:18:58 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-24 23:28:09 +0200
commit5a9ee01f8bf8e898cd27fd758f9a5cf992ff1fce (patch)
tree987e2c855b8c61d069bb33d8b93fb5c5bcfd75e0
parent27bfb671ff78454a4b470b72dff747f400211044 (diff)
downloadjenkins.debian.net-5a9ee01f8bf8e898cd27fd758f9a5cf992ff1fce.tar.xz
reproducible fdroid: jenkins needs to be in kvm group
According to https://wiki.debian.org/KVM a user needs to be in both the groups kvm and libvirt in order to create and manage VMs with libvirt. Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xupdate_jdn.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index ded1e530..a1b380bf 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -126,6 +126,7 @@ sudo mkdir -p /srv/workspace
if [ "$HOSTNAME" = "jenkins-test-vm" ] || [ "$HOSTNAME" = "profitbricks-build10-amd64" ] || [ "$HOSTNAME" = "profitbricks-build7-amd64" ] ; then
# jenkins needs access to libvirt
+ sudo adduser jenkins kvm
sudo adduser jenkins libvirt
sudo adduser jenkins libvirt-qemu