Remove AWS Cloudinit

Remove AWS Cloudinit

When we copy all data from AWS instance without excluding the cloud-init you will see errors as follows but it will continue to boot with success:

image 36

On Ubuntu 20.04, these steps worked for me to disable and remove cloud-init:

Run this command to disable:

sudo touch /etc/cloud/cloud-init.disabled

Reboot machine.

Run these commands to remove:

sudo apt-get purge cloud-init
sudo rm -rf /etc/cloud/; sudo rm -rf /var/lib/cloud/

The post Remove AWS Cloudinit appeared first on Perlubantuan.com.

server