Allow 'sudo kpartx -d' used in EACTION for Fedora
Change-Id: I0c651091d9623d7607bb59bd05ffec20fd78633c
This commit is contained in:
parent
d1a24cab16
commit
1651cfb53a
@ -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.*
|
||||
|
Loading…
Reference in New Issue
Block a user