Skip to content

Commit

Permalink
Fix MicrosoftEdge#21: Specify username, password and guest in box's V…
Browse files Browse the repository at this point in the history
…agrantfile
  • Loading branch information
dusek committed Aug 19, 2018
1 parent f61e112 commit ddefb8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/template-parts/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Vagrant.configure('2') do |config|
USERNAME = 'IEUser'
PASSWORD = 'Passw0rd!'

config.vm.guest = :windows

config.ssh.username = USERNAME
config.ssh.password = PASSWORD
# avoids error stating Vagrant does not know how to generate and
# insert a new keypair for a Windows guest OS
config.ssh.insert_key = false

config.winrm.username = USERNAME
config.winrm.password = PASSWORD
end
1 change: 1 addition & 0 deletions scripts/template-parts/pp-vagrant.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "vagrant",
"compression_level": 6,
"keep_input_artifact": true,
"vagrantfile_template": "template-parts/Vagrantfile",
"output": "..\\vms\\output\\Vagrant\\edgems.box",
"only": ["virtualbox-iso"]
}
Expand Down

0 comments on commit ddefb8e

Please sign in to comment.