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/jenkins-test-vm/etc/sudoers.d/jenkins | 2 +- hosts/jenkins/etc/sudoers.d/jenkins | 2 +- hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hosts') 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/*, \ -- cgit v1.2.3-70-g09d2