Cloud-init (reset on changes) works only in Ubuntu

Hello,
thanks to this commit UUID based `instance-id` for cloud-init (reset on changes) · Issue #9814 · lxc/lxd · GitHub
After changing static IP address or interface name in profile and instance reboot cloud-init in instance is triggered to apply this changes by checking for changes in instance-id. The problem is that it only works for Ubuntu. What can we do to use mechanics in other distros?

Should work the same on any cloud-init enabled image.
What image are you using?

I am using images:debian/11/cloud image

@stgraber does that depend on a certain version of cloud init?

I wouldn’t have thought so, it’s just a difference instance-id in the meta-data file.