From 5e6bee5e9acfea7242298f4cb5e7e6a5a49a423c Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 2 Jun 2016 17:23:50 +0200 Subject: lvc: discard only outdated snapshots --- hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/profitbricks-build10-amd64') 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/*, \ -- cgit v1.2.3-70-g09d2