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.
rootaccount. 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
Decompress the cloud-init installation package.
tar -xvf cloudinit-1.0.1-3.tar.bz2 -C /opt/
Access the directory for the cloud-init installation package.
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.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.