Have you tried setting the packer builder configuration to have this? "winrm_use_ssl": true, "winrm_insecure": true, "winrm_use_ntlm": true,
On Tuesday, September 24, 2019 at 11:48:31 AM UTC+1, lovi wrote: > > Hello, > > I've this error with a windows 2016. > > on the VM I got : > Client", > " NetworkDelayms = 5000", > " URLPrefix = wsman", > " AllowUnencrypted = false", > " Auth", > " Basic = true", > " Digest = true", > " Kerberos = true", > " Negotiate = true", > " Certificate = true", > " CredSSP = false", > " DefaultPorts", > " HTTP = 5985", > " HTTPS = 5986", > " TrustedHosts", > " AllowUnencrypted = *false*", > > And I can manage to connect with ansible with NTLM. > > > Is there a conf in the packer side to make it work ? > > I have seen (https://github.com/hashicorp/packer/issues/6205) that people > change AllowUnencrypted to *True* :-> winrm set winrm/config/service > '@{AllowUnencrypted="true"}' . > As > > But I don't think its a good news. > > > Regards > > > Nitin Shetty Platform Engineer Tel: +441242363051 [email protected] www.iress.com Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH The contents of this email originated from Iress. For this purpose Iress includes Iress Limited and/or any of its subsidiaries, holding companies and trading entities. If you have received this email in error please notify the sender immediately and delete this email. nosig -- 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/a61d61f9-53dd-430f-8f21-82dd32f4b032%40googlegroups.com.
