Hi There,

I'm using https://github.com/taliesins/packer-baseboxes as a base for my 
images. As of yet none of the platforms have worked for me.

vSphere fails at SSH.
Vmware needs drivers. might need workstation pro which I don't have. Only 
have VMware player free.
Hyper-V needs hyper-v installed.
Virtualbox starts the process but hangs at the powershell scripts. Using 
virtualbox-windows-2012R2-serverstandard-amd64.json. Had to disable the 
uefi part in the autounattend.xml file. See below.

<https://lh3.googleusercontent.com/-cfH1fAs0suU/Wh091vYEPSI/AAAAAAAAASo/0523kB5AtLUYitLx5wYbn6PfQjZhC2fQACLcBGAs/s1600/Capture.PNG>















The packer log only gives a mix of these messages:

> 2017/11/28 11:20:44 packer.exe: 2017/11/28 11:20:44 [DEBUG] connecting to 
> remote shell using WinRM
> 2017/11/28 11:20:44 packer.exe: 2017/11/28 11:20:44 [ERROR] connection 
> error: http response error: 401 - invalid content type
> 2017/11/28 11:20:44 packer.exe: 2017/11/28 11:20:44 [ERROR] WinRM 
> connection err: http response error: 401 - invalid content type
> 2017/11/28 11:20:49 packer.exe: 2017/11/28 11:20:49 [INFO] Attempting 
> WinRM connection...
> 2017/11/28 11:20:49 packer.exe: 2017/11/28 11:20:49 [DEBUG] connecting to 
> remote shell using WinRM
> 2017/11/28 11:22:15 packer.exe: 2017/11/28 11:22:15 [ERROR] connection 
> error: unknown error Post http://127.0.0.1:2962/wsman: read tcp 
> 127.0.0.1:60547->127.0.0.1:2962: wsarecv: An existing connection was 
> forcibly closed by the remote host.
> 2017/11/28 11:22:15 packer.exe: 2017/11/28 11:22:15 [ERROR] WinRM 
> connection err: unknown error Post http://127.0.0.1:2962/wsman: read tcp 
> 127.0.0.1:60547->127.0.0.1:2962: wsarecv: An existing connection was 
> forcibly closed by the remote host.


 I would love to use Packer but this is a real pain and documentation + 
google searches provide very limited help.

Anybody knows whats up?

-- 
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/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" 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/packer-tool/62b22951-d748-42d7-a322-d3409f90a2b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to