canonical / core-base

The main repository for ubuntu-core base snaps. It contains snaps from core22+.
https://ubuntu.com/core/docs
24 stars 42 forks source link

feat(azure): support cloud-init persistent writes to /var/lib/waagent #231

Closed blackboxsw closed 1 month ago

blackboxsw commented 3 months ago

This branch represents a more cloud-specific need if cloud-init were looking to support cloud-images on Azure as cloud-init's Azure datasource needs to write out state to /var/lib/waagent directory. As such, I wonder if there are ways to fragment or specialize the writable-paths we want to consider when we generate a core image for a targeted/specific platform.

blackboxsw commented 3 months ago

In order to actually setup an overlay with /var/lib/waagent. We need to create that dir in hooks/020-extra-files.chroot first

alfonsosanchezbeato commented 2 months ago

@blackboxsw are you going to reopen this one?

blackboxsw commented 2 months ago

Reopoening for inclusion in core24

blackboxsw commented 2 months ago

Also opened https://github.com/canonical/core-base/pull/238 against main if applicable