packer-sdc generated files are different on Windows because file paths in the comments are using backslashes
hmalphettes opened this issue · 0 comments
hmalphettes commented
Overview of the Issue
Running packer-sdc on Windows changes all files previously generated from a Unix OS.
Some comment sin the generated code contains file paths.
Packer Plugin SDK version and OS
From packersdk 0.2.11 on Windows 11
Reproduction Steps
Checkout an packer plugin source code and run packer-sdc as documented in packer-plugin-sdk.
On Unix:
<!-- Code generated from the comments of the GlobalRoutingSettings struct in builder/vsphere/clone/step_customize.go; DO NOT EDIT MANUALLY -->
...
<!-- End of code generated from the comments of the GlobalRoutingSettings struct in builder/vsphere/clone/step_customize.go; -->
Is rewritten by packer-sdc on Windows:
<!-- Code generated from the comments of the GlobalRoutingSettings struct in builder\vsphere\clone\step_customize.go; DO NOT EDIT MANUALLY -->
...
<!-- End of code generated from the comments of the GlobalRoutingSettings struct in builder\vsphere\clone\step_customize.go; -->