Skip to content

Preserve comments #65

@Ducky6944

Description

@Ducky6944

This appears, at least with the limited testing I've done, to remove comments from my template files. This wouldn't be such a big deal, but there is one specific use case where it is, which is making the user-data file for cloud-init images. The first line of the file, must be #cloud-config. I am not sure if this is a packer requirement, or cloud init or AutoInstall, but it needs to be there none the less. Is it possible to ensure that comments are left in the output file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions