On Vagrant 1.9.1 DC promotion sometimes works, I tried the following:

>From 
https://github.com/rgl/windows-domain-controller-vagrant/blob/master/provision/domain-controller.ps1
Use in combination with Reload plugin, -NoRebootOnCompletion as it causes 
Vagrant to fail (raise_if_auth_error) after 
   ==> dc: Message        : You must restart this computer to complete the 
operation.
   ==> dc: Context        : DCPromo.General.4
   ==> dc: RebootRequired : True
   ==> dc: Status         : Success

https://github.com/dbroeglin/windows-lab/blob/master/provision/02_install_forest.ps1
Tried putting a sleep in, but reboot triggered a Vagrant error
rescue in block in parse_header': HTTPClient::KeepAliveDisconnected: An 
existing connection was forcibly closed by the remote host. @ io_fillbuf - 
fd:3  (HTTPClient::KeepAliveDisconnected)

This has given move promising results
>From https://github.com/mitchellh/vagrant/issues/6430
Add to the Vagrantfile
   config.winrm.retry_limit = 60
   config.winrm.retry_delay = 10

However, I have encountered "Server instance not found on the given port." 
on subsequent operations. I shall continue to provide updates if I make any 
progress on this extremely frustrating objective.

-- 
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/c24bfb20-7b6d-4c5c-9471-4d093db08c30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to