rancher / elemental-toolkit

:snowflake: The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
https://rancher.github.io/elemental-toolkit/docs/
Apache License 2.0
282 stars 49 forks source link

Add "meta-data" to userDataFiles string list Refers #2125 #2126

Closed robertwbl closed 2 weeks ago

robertwbl commented 2 weeks ago

As suggested in the issue I've raised, this allows cloud-init on toolkit built images to pick up cloud config in files named "meta-data" such as the one Harvester provides instance data in.

robertwbl commented 2 weeks ago

It has occurred to me that perhaps this change is better made upstream here: https://github.com/rancher-sandbox/linuxkit/blob/main/providers/provider_cdrom.go ?

robertwbl commented 2 weeks ago

Thanks @davidcassany that sounds good. I've opened https://github.com/rancher-sandbox/linuxkit/pull/5 and am closing this PR.