mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-05 00:11:10 +00:00
Remove the useless user and password from default config.
This commit is contained in:
parent
72dbb4c75d
commit
97c8996c29
@ -121,7 +121,7 @@ cdrom_vmdk_f="${box_d}/${prefix}-configdrive.vmdk"
|
||||
# except via local host.
|
||||
cat > ${seed_d}/user-data <<END
|
||||
#cloud-config
|
||||
chpasswd: { expire: True }
|
||||
chpasswd: { expire: False }
|
||||
password: ${ubuntu_user_pass}
|
||||
ssh_pwauth: True
|
||||
manage_etc_hosts: localhost
|
||||
@ -165,8 +165,6 @@ load include_vagrantfile if File.exist?(include_vagrantfile)
|
||||
## We also have an "ubuntu" user with pass "${ubuntu_user_pass}"
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.base_mac = "${macaddr}"
|
||||
config.ssh.username = "vagrant"
|
||||
config.ssh.password = "vagrant"
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user