I use packer.0.8.0 to build windows 2012R2 image by WinRM communicator, having succeed building vmware-iso but failed to build qemu-kvm type using almost same configuration. Packer can not connect the windows instance as the log shows:
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* connect to 127.0.0.1 port 5985 failed: Connection refused
* Failed to connect to 127.0.0.1 port 5985: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 5985: Connection refused
I use packer.0.8.0 to build windows 2012R2 image by WinRM communicator, having succeed building vmware-iso but failed to build qemu-kvm type using almost same configuration. Packer can not connect the windows instance as the log shows:
I try CLI debugging: ps -ef |grep packer:
curl -v http://127.0.0.1:5985/wsman:
curl -v http://127.0.0.1:3499/wsman:
I suspect packer should connect to http://127.0.0.1:3499/wsman not 5985. Thanks for your help.