Merge lp:~rbalint/livecd-rootfs/vagrant-interactive-xenial

core-include-dmsetup
Balint Reczey 7 years ago
commit 92026e3a26

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.408.27) UNRELEASED; urgency=medium
* Don't ask for password and GECOS while creating vagrant user
(LP: #1569237)
-- Balint Reczey <rbalint@ubuntu.com> Thu, 21 Dec 2017 09:20:32 +0100
livecd-rootfs (2.408.26) xenial; urgency=medium
* Added a "vagrant" user to the vagrant image in addition to the "ubuntu"

@ -63,7 +63,9 @@ chroot ${mount_d} apt-get clean
# Vagrant users expect a "vagrant" user with a "vagrant" username.
# See https://www.vagrantup.com/docs/boxes/base.html
# Note: We decided NOT to allow root login with a default password.
chroot ${mount_d} adduser vagrant
# --disabled-password and --gecos need to be passed to avoid adduser
# asking questions when running in an interactive shell
chroot ${mount_d} adduser vagrant --disabled-password --gecos ""
echo "vagrant:vagrant" | chroot ${mount_d} chpasswd
# The vagrant user should have passwordless sudo.

Loading…
Cancel
Save