summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-02 17:23:50 +0200
committerPhilip Hands <phil@hands.com>2016-06-03 00:02:26 +0200
commit5e6bee5e9acfea7242298f4cb5e7e6a5a49a423c (patch)
treed6295a705495b57b213a4ffa761ec1bcbe6b35cc /hosts
parent3d2cbb8c58953a39237f9af2c854e75edd61c32d (diff)
downloadjenkins.debian.net-5e6bee5e9acfea7242298f4cb5e7e6a5a49a423c.tar.xz
lvc: discard only outdated snapshots
Diffstat (limited to 'hosts')
-rw-r--r--hosts/jenkins-test-vm/etc/sudoers.d/jenkins2
-rw-r--r--hosts/jenkins/etc/sudoers.d/jenkins2
-rw-r--r--hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins2
3 files changed, 3 insertions, 3 deletions
diff --git a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
index 1f457531..901bcf41 100644
--- a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
+++ b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
@@ -28,7 +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 *, \
+ /usr/bin/virsh -q snapshot-list *, /usr/bin/virsh snapshot-delete *, \
/bin/mkdir -p /media/*, \
/usr/bin/guestmount *, \
/bin/cp -rv /media/*, \
diff --git a/hosts/jenkins/etc/sudoers.d/jenkins b/hosts/jenkins/etc/sudoers.d/jenkins
index 1f457531..901bcf41 100644
--- a/hosts/jenkins/etc/sudoers.d/jenkins
+++ b/hosts/jenkins/etc/sudoers.d/jenkins
@@ -28,7 +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 *, \
+ /usr/bin/virsh -q snapshot-list *, /usr/bin/virsh snapshot-delete *, \
/bin/mkdir -p /media/*, \
/usr/bin/guestmount *, \
/bin/cp -rv /media/*, \
diff --git a/hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins
index 1f457531..901bcf41 100644
--- a/hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins
@@ -28,7 +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 *, \
+ /usr/bin/virsh -q snapshot-list *, /usr/bin/virsh snapshot-delete *, \
/bin/mkdir -p /media/*, \
/usr/bin/guestmount *, \
/bin/cp -rv /media/*, \