summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@debian.org>2013-06-15 21:28:37 -0300
committerAntonio Terceiro <terceiro@debian.org>2013-06-15 21:35:46 -0300
commit3631d3531e10a9915f51619ae4575cae31b76d7e (patch)
treead40a9f0a877a3e8c3dad4293357be5bdcb77537 /etc
parent63a6f3d04f540fce85993f0251c645ecf592de0f (diff)
downloadjenkins.debian.net-3631d3531e10a9915f51619ae4575cae31b76d7e.tar.xz
Add script to run a command inside a fresh chroot
Diffstat (limited to 'etc')
-rw-r--r--etc/sudoers.d/jenkins2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index 2bd28425..1d11b1a7 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -1,4 +1,4 @@
-jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, /usr/sbin/chroot /chroots/*, /usr/sbin/chroot /media/*, /bin/ls -la /media/*, /bin/rm -rf --one-file-system /chroots/*, /bin/umount -l /chroots/*, /bin/umount -l /media/*, /bin/mount -o loop*, /usr/bin/du *, /bin/kill -9 *, /usr/bin/qemu-system-x86_64 *, /bin/mkdir -p /media/*, /usr/bin/guestmount *, /bin/cp -r /media/*, /bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*, SETENV: NOPASSWD: /usr/sbin/pbuilder *
+jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, /usr/sbin/chroot /chroots/*, /usr/sbin/chroot /media/*, /bin/ls -la /media/*, /bin/rm -rf --one-file-system /chroots/*, /bin/umount -l /chroots/*, /bin/umount -l /media/*, /bin/mount -o loop*, /bin/mount --bind *, /usr/bin/du *, /bin/kill -9 *, /usr/bin/qemu-system-x86_64 *, /bin/mkdir -p /media/*, /usr/bin/guestmount *, /bin/cp -r /media/*, /bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*, SETENV: NOPASSWD: /usr/sbin/pbuilder *
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset