I'm not seeing your autounattend actually call your configure-winrm.ps1
script. That could be your issue.  Without knowing how you're configuring
winrm, I'm not sure whether the options you've set are correct. Can you
share the script?

On Thu, Oct 15, 2020 at 10:52 AM Alexander Robinson <[email protected]>
wrote:

> Hi Packer Group!
>
> First off I am running Packer 1.6.4 and Virtualbox 6.1. I'm working off of
> a Ubuntu18.04 machine. I'm using the JSON and autounattend XML that I've
> attached to this message.
>
>  I've tested various versions of enabling WinRM manually on the VM once
> it's up, but I can't get past this invalid content type error and I've been
> poking at this for a while.
>
>  Any help would be appreciated as I just want to get it to connect to
> finish the packer run so I can save the VM. Thanks!
>
> --
> 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/hashicorp/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/c948dfac-a354-4f6c-8e22-d272aa7817can%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/c948dfac-a354-4f6c-8e22-d272aa7817can%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/hashicorp/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/CAGPV1upn2%2BD_NNJbdGLpNJF%2B%3DAPo1PnSsZG1SGkhSmc4f3D%3DAw%40mail.gmail.com.

Reply via email to