Merge "Add sudoers rule to format and mount anykind of partitions in disks."
This commit is contained in:
		| @@ -23,7 +23,7 @@ ALL ALL=(root) NOPASSWD: /bin/mount --bind /tmp/*/hooks /tmp/*/mnt/tmp/in_target | |||||||
| ALL ALL=(root) NOPASSWD: /bin/mount -o remount\,ro\,bind /tmp/*/hooks /tmp/*/mnt/tmp/in_target.d | ALL ALL=(root) NOPASSWD: /bin/mount -o remount\,ro\,bind /tmp/*/hooks /tmp/*/mnt/tmp/in_target.d | ||||||
| ALL ALL=(root) NOPASSWD: /bin/mount -t proc none /tmp/*/mnt/proc | ALL ALL=(root) NOPASSWD: /bin/mount -t proc none /tmp/*/mnt/proc | ||||||
| ALL ALL=(root) NOPASSWD: /bin/mount -t sysfs none /tmp/*/mnt/sys | ALL ALL=(root) NOPASSWD: /bin/mount -t sysfs none /tmp/*/mnt/sys | ||||||
| ALL ALL=(root) NOPASSWD: /bin/mount /dev/nbd0p1 /tmp/*/mnt | ALL ALL=(root) NOPASSWD: /bin/mount /dev/nbd0* /tmp/*/mnt | ||||||
| ALL ALL=(root) NOPASSWD: /bin/mv /tmp/*/mnt/* /tmp/*/mnt/* | ALL ALL=(root) NOPASSWD: /bin/mv /tmp/*/mnt/* /tmp/*/mnt/* | ||||||
| ALL ALL=(root) NOPASSWD: /bin/rm -* /tmp/*/mnt/* | ALL ALL=(root) NOPASSWD: /bin/rm -* /tmp/*/mnt/* | ||||||
| ALL ALL=(root) NOPASSWD: /bin/rmdir /tmp/*/mnt/* | ALL ALL=(root) NOPASSWD: /bin/rmdir /tmp/*/mnt/* | ||||||
| @@ -33,7 +33,7 @@ ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/dev | |||||||
| ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/proc | ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/proc | ||||||
| ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/sys | ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/sys | ||||||
| ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/tmp/in_target.d | ALL ALL=(root) NOPASSWD: /bin/umount -f /tmp/*/mnt/tmp/in_target.d | ||||||
| ALL ALL=(root) NOPASSWD: /sbin/mkfs -F -t ext4 -L cloudimg-rootfs /dev/nbd0p1 | ALL ALL=(root) NOPASSWD: /sbin/mkfs -F -t ext4 -L cloudimg-rootfs /dev/nbd0* | ||||||
| ALL ALL=(root) NOPASSWD: /sbin/modprobe nbd max_part=16 | ALL ALL=(root) NOPASSWD: /sbin/modprobe nbd max_part=16 | ||||||
| ALL ALL=(root) NOPASSWD: /sbin/sfdisk /dev/nbd0 | ALL ALL=(root) NOPASSWD: /sbin/sfdisk /dev/nbd0 | ||||||
| ALL ALL=(root) NOPASSWD: /usr/bin/qemu-nbd -c /dev/nbd0 --cache=writeback /tmp/*/image | ALL ALL=(root) NOPASSWD: /usr/bin/qemu-nbd -c /dev/nbd0 --cache=writeback /tmp/*/image | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jenkins
					Jenkins