That seeems like a reasonable feature request to me, but I don't know of a
way to make that work today, unfortunately. A PR that implements this
behavior would be welcome!

On Sun, Oct 6, 2024, 12:28 Andy Smith <[email protected]> wrote:

> Hi,
>
> I have a cloud init data source with the network configuration in the
> drive as /network-config as usual. As this is netplan, it's just a
> pass-through netplan config.
>
> My config file is well commented, but when cloud-init copies it to
> /etc/netplan/50-cloud-init.yaml it seems that all comment lines are
> stripped.
>
> Is there a way to prevent this happening, or a particular format to use
> in the metadata file to be kept as a comment in the final produced
> netplan config file?
>
> I am not subscribed to this list so please copy me directly on replies.
>
> Thanks!
> Andy
>
> --
> Mailing list: https://launchpad.net/~cloud-init
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~cloud-init
> More help   : https://help.launchpad.net/ListHelp
>
-- 
Mailing list: https://launchpad.net/~cloud-init
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init
More help   : https://help.launchpad.net/ListHelp

Reply via email to