From b7c29be732e27bcf2ccfdbc1663a1cbe73c8193a Mon Sep 17 00:00:00 2001 From: Darrell Hamilton Date: Thu, 13 Feb 2014 15:22:20 -0800 Subject: [PATCH] comments reflect implementation --- boxes/build-debian-box.sh | 2 +- boxes/build-ubuntu-box.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boxes/build-debian-box.sh b/boxes/build-debian-box.sh index d020891..c6944a2 100755 --- a/boxes/build-debian-box.sh +++ b/boxes/build-debian-box.sh @@ -97,7 +97,7 @@ chroot ${ROOTFS} chown -R vagrant: /home/vagrant/.ssh chroot ${ROOTFS} apt-get install sudo -y --force-yes chroot ${ROOTFS} adduser vagrant sudo -# Enable passwordless sudo for users under the "sudo" group +# Enable passwordless sudo for the vagrant user echo "vagrant ALL=(ALL) NOPASSWD:ALL" > ${ROOTFS}/etc/sudoers.d/vagrant chmod 0440 ${ROOTFS}/etc/sudoers.d/vagrant diff --git a/boxes/build-ubuntu-box.sh b/boxes/build-ubuntu-box.sh index 5ffa27e..ef2d813 100755 --- a/boxes/build-ubuntu-box.sh +++ b/boxes/build-ubuntu-box.sh @@ -80,7 +80,7 @@ mkdir -p ${ROOTFS}/home/vagrant/.ssh echo $VAGRANT_KEY > ${ROOTFS}/home/vagrant/.ssh/authorized_keys chroot ${ROOTFS} chown -R vagrant: /home/vagrant/.ssh -# Enable passwordless sudo for users under the "sudo" group +# Enable passwordless sudo for the vagrant user echo "vagrant ALL=(ALL) NOPASSWD:ALL" > ${ROOTFS}/etc/sudoers.d/vagrant chmod 0440 ${ROOTFS}/etc/sudoers.d/vagrant