MicrosoftEdge / dev.microsoftedge.com-vms

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

Vagrant can't connect to box #19

Open ccarstens opened 6 years ago

ccarstens commented 6 years ago

Hi I'm trying to connect to the IE11 on WIN7 box and I'm having trouble connecting with the provided password "Passw0rd!" or with "vagrant" as the password. I changed my Vagrantfile to the following:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "IE11WIN7"
  config.ssh.password = "Passw0rd!"
end

And here is the console output:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: password
vagrant@127.0.0.1's password:

No known password is working here.

What am I doing wrong? thanks, ccarstens

molant commented 6 years ago

I'm no vagrant expert (images are generated automatically with a script) but it could be the username you are using. The user/pass are ieuser/Passw0rd! and it looks like you are using vagrant as the user. Can you give it a try?

dragon788 commented 4 years ago

Molant is correct that the user is IEUser and the password is Passw0rd! so you'll need to override both the SSH username and password in the Vagrantfile. If you want to use WinRM it takes a little bit more work, but it also requires overriding the username/password.