Merge lp:~rbalint/livecd-rootfs/vagrant

ubuntu/artful
Steve Langasek 7 years ago
commit 7c58bcecf0

1
debian/changelog vendored

@ -2,6 +2,7 @@ livecd-rootfs (2.460) UNRELEASED; urgency=medium
[ Balint Reczey ] [ Balint Reczey ]
* Mount using --make-rslave to ensure safe unmounts for rbind mounts * Mount using --make-rslave to ensure safe unmounts for rbind mounts
* Don't ask for password and GECOS while creating vagrant user
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 26 Sep 2017 00:59:08 -0400 -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 26 Sep 2017 00:59:08 -0400

@ -72,7 +72,7 @@ chroot ${mount_d} apt-get clean
# Vagrant users expect a "vagrant" user with a "vagrant" username. # Vagrant users expect a "vagrant" user with a "vagrant" username.
# See https://www.vagrantup.com/docs/boxes/base.html # See https://www.vagrantup.com/docs/boxes/base.html
# Note: We decided NOT to allow root login with a default password. # Note: We decided NOT to allow root login with a default password.
chroot ${mount_d} adduser vagrant chroot ${mount_d} adduser vagrant --disabled-password --gecos ""
echo "vagrant:vagrant" | chroot ${mount_d} chpasswd echo "vagrant:vagrant" | chroot ${mount_d} chpasswd
# The vagrant user should have passwordless sudo. # The vagrant user should have passwordless sudo.

Loading…
Cancel
Save