Hello
When I wrote my previous mail i dd a typo, sorry
winrm is NOW part of vagrant core, that changed
so in old version and some plugins the wayt you setup stuff may be different
this works for me
Vagrant.configure("2") do |config|
config.vm.box = "ferventcoder/win2008r2-x64-nocm"
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
config.vm.communicator = "winrm"
config.vm.guest = :windows
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp",
auto_correct: true
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm",
auto_correct: true
config.vm.provision "shell", inline: "Write-Host Hello World"
config.vm.provision "shell", inline: "(Get-UICulture).Calendar |
ConvertTo-Json"
end
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyFaTCTSKEZvf6smCN%3DmQVGmPSZxOEvQ83%3DMojCFYti1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.