From 0259bba352e835936fe154e0651af621069727e3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 29 Nov 2012 16:38:52 +0100 Subject: Use rm -rf --one-file-system to delete chroots, thanks to Andreas Beckmann for the idea. --- etc/sudoers.d/jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/sudoers.d/jenkins') diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins index 584284b3..e0d69acf 100755 --- a/etc/sudoers.d/jenkins +++ b/etc/sudoers.d/jenkins @@ -1,4 +1,4 @@ -jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *, SETENV: NOPASSWD: /usr/sbin/pbuilder * +jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf --one-file-system /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *, SETENV: NOPASSWD: /usr/sbin/pbuilder * # keep these environment variables Defaults env_keep += "http_proxy", env_reset -- cgit v1.2.3-70-g09d2