diff --git a/sudoers.d/img-build-sudoers b/sudoers.d/img-build-sudoers index 2bafc25ee..6264aa7a1 100644 --- a/sudoers.d/img-build-sudoers +++ b/sudoers.d/img-build-sudoers @@ -56,6 +56,7 @@ ALL ALL=(root) NOPASSWD: /sbin/losetup --show -f /tmp/*/*.raw ALL ALL=(root) NOPASSWD: /sbin/losetup -d /dev/loop* ALL ALL=(root) NOPASSWD: /sbin/partprobe /dev/loop* ALL ALL=(root) NOPASSWD: /sbin/kpartx -avr /tmp/*/*.raw +ALL ALL=(root) NOPASSWD: /sbin/kpartx -d /tmp/*/*.raw ALL ALL=(root) NOPASSWD: /usr/bin/du --block-size=* -x -s /tmp/*/built ALL ALL=(root) NOPASSWD: /bin/mount -t tmpfs tmpfs /tmp/image.* ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/image.*