mwrock / packer-templates

Templates for creating vagrant boxes
Other
535 stars 250 forks source link

Packer v0.12.2 - Waiting for WinRM to become available... #80

Closed mstansberry closed 7 years ago

mstansberry commented 7 years ago

In the latest build, the setting in vbox-2012r2.json for winrm_port has to be set to 5985 in order for packer to run provisioning scripts.

petemounce commented 7 years ago

Sounds like the problem I'm having in #75. I'll close that one and try this out in vbox-2016.json.

petemounce commented 7 years ago

Yup, confirmed. I did this:

diff --git i/vbox-2016.json w/vbox-2016.json
index c350d27..ca3da35 100644
--- i/vbox-2016.json
+++ w/vbox-2016.json
@@ -21,7 +21,6 @@
       "winrm_username": "vagrant",
       "winrm_password": "vagrant",
       "winrm_timeout": "12h",
-      "winrm_port": 55985,
       "shutdown_command": "C:/Windows/Panther/Unattend/packer_shutdown.bat",
       "shutdown_timeout": "15m",
       "floppy_files": [

and I was then able to proceed past WinRM connecting, with vbox-2016.json.

mwrock commented 7 years ago

Fixed.