You need to tell inspec to use WinRM as the backend/transport in your template or the CLI arguments.
On Wednesday, August 14, 2019 at 8:54:04 AM UTC-5 [email protected] wrote: > Hi, > > Trying to add Inspec tests to my packer build, if i take out the inspec > provisioner this runs (Attached packer json). Any ideas whats going on? > > InSpec code: > > { > "type": "inspec", > "profile": "https://github.com/dev-sec/windows-patch-baseline", > "extra_arguments": [ "--chef-license", "accept", "--reporter", > "json:output.json"] > } > > > -- 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/552c6b6b-d6a1-44ec-a499-6b13d54f7efdn%40googlegroups.com.
