Closed ranopriyo-neogy closed 8 months ago
You don't have it configured properly for Windows. The out includes Configured to run on Linux
.
You need to set the target_os
in the provisioner config and the GOSS_USE_ALPHA
flag to 1 see: https://github.com/YaleUniversity/packer-provisioner-goss#windows-support
An example configuration can be found at https://github.com/kubernetes-sigs/image-builder/blob/e56122226e1447eb21327f2ac4f98bde0e422b83/images/capi/packer/azure/packer-windows.json#L138
marking this as closed since no follow up
I am trying to create a Microsoft Windows Server 2016 Base AMI and use Goss for testing it. The same configuration worked fine when I launched Amazon Linux base AMI. However it fails provisioning Goss when I use it for Windows. Am I missing something for Windows server tests using Goss (below scenario).
My Template:
Error: