MicrosoftEdge / dev.microsoftedge.com-vms

Scripts used to generate the free VMs available at https://dev.microsoftedge.com
MIT License
81 stars 22 forks source link

Vagrant users are required to manually specify username/password in Vagrantfile #21

Open dusek opened 6 years ago

dusek commented 6 years ago

Vagrant users are required to explicitly specify

config.ssh.username = 'IEUser'
config.ssh.password = 'Passw0rd!'

in all their Vagrantfiles, at least in those based on the Microsoft/EdgeOnWindows10 base box. But it would be better to be able to specify only config.vm.box = "Microsoft/EdgeOnWindows10" and be done.

One solution could be to specify the username and password in the Vagrantfile of the base box itself, so that it would be inherited by any Vagrantfile using the Edge10 base box (see Load Order and Merging, which in point 1. specifies as the first merged Vagrantfile the "Vagrantfile packaged with the box that is to be used for a given machine.")

Another solution could be to use "vagrant/vagrant" as the username/password pair, as recommended by vagrant.