Last updated：2021-08-04 11:26:31
When a custom image is used, it is recommended that you install the cloud-init service on the instance running the image to ensure that the instance can be successfully initialized.
Currently, only Linux KEC instances support the installation of the cloud-init service.
root account. For Ubuntu systems, you need to change to the
rpm -e cloud-init
rm -rf /etc/conf/cloud/*
rm -rf /var/lib/cloud/*
apt-get purge cloud-init
tar -xvf cloudinit-1.0.1-3.tar.bz2 -C /opt/
Install cloud-init based on the independent Python environment.
./tools/cloud-init-helper install -c
Set the cloud-init service to start automatically upon instance startup.