diff options
-rwxr-xr-x | bin/g-i-installation.sh | 2 | ||||
-rw-r--r-- | etc/sudoers.d/jenkins | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index d4c96a96..20128d0e 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -438,7 +438,7 @@ save_logs() { # mkdir -p $RESULTS/log sudo cp -r $SYSTEM_MNT/var/log/installer $RESULTS/log/ - sudo chown -R jenkins:jenkins $RESULTS/log/ + sudo chown -R jenkins.jenkins $RESULTS/log/ # # get list of installed packages # diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins index a45b6264..429361d4 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/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/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 * # keep these environment variables Defaults env_keep += "http_proxy", env_reset |