summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build7-amd64
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2017-02-14 13:07:55 +0100
committerHolger Levsen <holger@layer-acht.org>2017-02-14 17:06:37 +0100
commit1dc921c4b7899502de087f29871698f77603c20f (patch)
treebca7a4be4ad129429a48ba8f31c69461458fcc2b /hosts/profitbricks-build7-amd64
parentc870a7ba5a613324fee3bc60ceb055754e7d9013 (diff)
downloadjenkins.debian.net-1dc921c4b7899502de087f29871698f77603c20f.tar.xz
reproducible fdroid: allow `sudo /bin/chmod -R a+rX /var/lib/libvirt/`
In order to convert the QEMU/KVM image to a vagrant box, we need to read the file directly. But that dir usually only lets root read the images. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/profitbricks-build7-amd64')
-rw-r--r--hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins
index fa4778f6..e039577f 100644
--- a/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins
@@ -13,7 +13,8 @@ jenkins ALL= \
/usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
- /usr/sbin/slay jenkins
+ /usr/sbin/slay jenkins, \
+ /bin/chmod -R a+rX /var/lib/libvirt/
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset