blob: f59860d422bf7fce1bfa1300f268398b407ebd76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
/bin/chmod +x /schroots/*, \
/usr/sbin/chroot /schroots/*, \
/bin/rm -rf --one-file-system /schroots/*, \
/bin/rm -rf --one-file-system /srv/live-build/*, \
/bin/mv /schroots/* /schroots/*, \
/bin/umount -l /schroots/*, \
/bin/mount --bind *
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
|