Rework element kanod-cloud-init to avoid using unmaintained cloud-init

The element kanod-cloud-init installs cloud-init from an upstream project with a given version defined as input. This bypasses the cloud-init package provided by the OS vendors Ubuntu and SuSE and also override the package and configuration already installed with the cloud images on which our images are based.

It should be worth to use the package provided by the vendor, which is tested well for the target OS and maintained.

For Ubuntu 22.04, we could use cloud repositories:

2023.2 BOBCAT

sudo add-apt-repository cloud-archive:bobcat
2023.1 ANTELOPE

sudo add-apt-repository cloud-archive:antelope
ZED

sudo add-apt-repository cloud-archive:zed

For example Antelope provide cloud-init versions 23.4 and 23.1.

For OpenSuSE 15.5, the default repos as well the source cloud-image provides the package cloud-init versions 23.3. check this #71 (comment 1806856515)

Edited Mar 08, 2024 by Thomas Monguillon
Assignee Loading
Time tracking Loading