-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provisioning halts on "Waiting for WinRM to become available..." #41
Comments
I see that same behavior with the parallels provider as well. |
@rickadair @rasa I suspect it is related to this merge pull request: But I haven't had time to check it out. |
Makes sense. I ended up addressing it by adding sc config winrm start=auto to my install-winrm.cmd. |
In my case, it was caused by using a non-English Windows 7 install image (I was using a Czech one). That caused I solved it by commenting the |
I have the same issue when I run make virtualbox/eval-win10x64-enterprise: installation will not continue because WinRM is not running. Installation continues and completes if I manually run Enable-PSRemoting -force as admin. If I make virtualbox/eval-win10x64-enterprise-ssh, the installation completes without any manual steps. When i vagrant up the result however, WinRM is disabled and provisioning fails. Trying to run Enable-PSRemoting manually fails because the network interface is set to public. The ssh server is working, but is not being used by vagrant to provision. |
Same problem, stuck somewhere at windows update. |
If you have update.bat in your floppy's section - remove it. When the 00-run-all-scripts.bat file runs, it'll iterate through all of them, and once it hits update.bat, Windows updates will be performed and may/may not reboot your machine (depending on the updates.) Since it reboots, any scripts listed after update.bat will never get triggered...one of which being zz-start-sshd.bat, which starts sshd/winrm. If you want to do updates, then you'd need to modify the reboot function in update.bat to insert a runonce registry entry for zz-start-sshd.bat, or even better, create a new script called post-update-run-scripts.bat that you can toss any scripts you want to run after Windows Update, and set that up to run once. |
I submitted a pull request to work around the update.bat issue I found: |
Ran into the same problem with |
this is affecting me as well |
Updating packer from v0.8.6 to v0.12.0 fixed it. |
Working Combination for packer-windows on macOS Sierra: Failing Versions |
Vagrant 1.8.7 embeds a |
Put
|
The |
My problem was similar to what @dusek mentioned above. I tried to use a german ISO which lead to a timeout "Waiting for WinRM to become available..." because in the Autounattend.xml the Lanuage Setting and also the Windows Version String in the Tag was not what the installer provided, so the installation did not finish. Correcting all the differences in the Autounattend.xml fixed this problem for me. |
I'm getting the same thing as issue #31 for:
make virtualbox/eval-win10x64-enterprise
The two differences I see from what was mentioned in issue #31 is that I'm using VBox 5.0.6 and Packer 0.8.6.
I even added:
"ssh_host_port_min": "5985",
"ssh_host_port_max": "5985"
But that didn't fix it either.
Any ideas? Maybe VBox 5.0.6 not compatible?
Environment
Mac OS X 10.10.5 (Yosemite)
Vagrant 1.7.4
VirtualBox 5.0.6r103037
Packer 0.8.6
Vagrant Plugins
vagrant-share (1.1.4, system)
vagrant-vmware-fusion (3.2.9)
vagrant-winrm (0.7.0)
The text was updated successfully, but these errors were encountered: