summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm/etc
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-05-14 22:03:14 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-14 23:04:27 +0200
commit183047ae67b06004bdef17561678e5021c9b5a19 (patch)
tree124279fc9ffa5275d9195383e8ca8989122b68eb /hosts/jenkins-test-vm/etc
parent306b243742aab4f21925cbd4d171702fb56e9083 (diff)
downloadjenkins.debian.net-183047ae67b06004bdef17561678e5021c9b5a19.tar.xz
lvc: discard snapshots if target volume is missing
Diffstat (limited to 'hosts/jenkins-test-vm/etc')
-rw-r--r--hosts/jenkins-test-vm/etc/sudoers.d/jenkins1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
index 96d501ef..1f457531 100644
--- a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
+++ b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
@@ -28,6 +28,7 @@ jenkins ALL= \
/usr/bin/qemu-system-x86_64 *, \
/usr/bin/qemu-img *, \
/sbin/lvcreate *, /sbin/lvremove *, \
+ /usr/bin/virsh snapshot-list *, /usr/bin/virsh snapshot-delete *, \
/bin/mkdir -p /media/*, \
/usr/bin/guestmount *, \
/bin/cp -rv /media/*, \