mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Don't ask for password and GECOS while creating vagrant user
This commit is contained in:
parent
6d5ab03a14
commit
20617c6f51
@ -72,7 +72,7 @@ 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
|
||||
chroot ${mount_d} adduser vagrant --disabled-password --gecos ""
|
||||
echo "vagrant:vagrant" | chroot ${mount_d} chpasswd
|
||||
|
||||
# The vagrant user should have passwordless sudo.
|
||||
|
Loading…
x
Reference in New Issue
Block a user