From 04a208c866a7f144e931365119e383dc0fb5c45a Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 14 Feb 2013 11:36:06 -0800 Subject: [PATCH] Add dib-run-parts install command to sudoers.d Change-Id: I8943d18efa4077da87cb822255f70c6541f32f30 --- sudoers.d/img-build-sudoers | 1 + 1 file changed, 1 insertion(+) diff --git a/sudoers.d/img-build-sudoers b/sudoers.d/img-build-sudoers index ea3da56a..a2739c38 100644 --- a/sudoers.d/img-build-sudoers +++ b/sudoers.d/img-build-sudoers @@ -41,4 +41,5 @@ ALL ALL=(root) NOPASSWD: /usr/bin/qemu-nbd -d /dev/nbd0 ALL ALL=(root) NOPASSWD: /usr/bin/touch /tmp/*/mnt/* ALL ALL=(root) NOPASSWD: /usr/bin/unlink /tmp/*/mnt/* ALL ALL=(root) NOPASSWD: /bin/cp -t /tmp/*/mnt/etc/ -a /tmp/*/hooks/first-boot.d +ALL ALL=(root) NOPASSWD: /usr/bin/install -m 0755 -o root -g root -D */dib-run-parts /tmp/*/mnt/usr/local/bin/dib-run-parts ALL ALL=(root) SETENV: NOPASSWD: /usr/sbin/chroot /tmp/*/mnt *