Cloud-init config lost

Hi, when I build image with the new image

lxc remote add --protocol simplestreams ubuntu-daily https://cloud-images.ubuntu.com/
lxc launch ubuntu-daily:focal base-image-roll-builder-202409010900 --target lxd8

I config instance cloud-init as before
image
but when instance start, I found that cloud-init is lost. (cloud-init version is 24.1.3-0ubuntu1~20.04.5)
image

I wait cloud-init fix a bug (Cloud-init status always reporting running · Issue #5304 · canonical/cloud-init · GitHub) for one month. when that bug fixed, I found this new problem. :smiling_face_with_tear:

Was this applied to a fresh instance or had the instance already booted?

Because cloud-init only runs once, it doesn’t re-run when the config is changed.

Try cloud-init status and also cloud-init clean which should get it to rerun on next boot.

hi,tomp, this applied to a fresh instance.

I make my new image base latest ubuntu-daily image, when I start the instance use my imgae, I found cloud-init config is lost.

image

image

I use two official image to start Instance, the instance base new image lost cloud-init config