==> default: Detecting if a remote PowerShell connection can be made with the guest...
Unable to establish a remote PowerShell connection with the guest.
Check if the firewall rules on the guest allow connections to the
Windows remote management service.Vagrant.configure(2) do |config|
config.vm.box = "Windows2012R2x64"
#This fixes an issue with chef solo provisioner where it can't resolve omitruck.chef.io the first time.
config.vm.provision "shell", inline: "Resolve-DnsName omnitruck.chef.io | out-null"
config.vm.provision :chef_solo do |chef|
chef.add_recipe "domain"
chef.cookbooks_path = "cookbooks"
end
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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/386b2ff7-cad0-4be7-9a97-c88b7d36e649%40googlegroups.com.
HelloOn windows, is normal practice to schedule the scripts to run with the task schduler. Say to start in 1 minute from now.then vagrant will stop the provisioning and 1 min later the DC promotion/reboot will happen.If your script keep the session open and reboot/disconnect, vagrant will fail as you have found.I am not aware of vagrant being able to handle reboots in/between script provision.Alvaro
On Wed, Jan 18, 2017 at 7:55 PM, Jules & Amy Clements <v8l...@gmail.com> wrote:
Even with an extremely high limit, it is still failing, I'm not convinced this setting even does anything.override.winrm.retry_limit = 200rescue in block in parse_header': HTTPClient::KeepAliveDisconnected
--
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/386b2ff7-cad0-4be7-9a97-c88b7d36e649%40googlegroups.com.
--Alvaro
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/44a0d723-0ad5-4ab3-9827-cfb94d6ea81a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/44a0d723-0ad5-4ab3-9827-cfb94d6ea81a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro