This issue was fixed a while back in:
https://github.com/canonical/cloud-init/commit/4bcc94730
cloud-init retains the legacy bits, but prefers the use of os-release file or kernel commandline to for checking for UbuntuCore.
This issue was fixed a while back in:
https:/ /github. com/canonical/ cloud-init/ commit/ 4bcc94730
cloud-init retains the legacy bits, but prefers the use of os-release file or kernel commandline to for checking for UbuntuCore.