Cloning a virtual machine with cloud-init
The cloud-init data is private to each virtual machine and will not be replicated by cloning. Therefore, when cloning a virtual machine with cloud-init, the new virtual machine will not have the same initial configurations. Consequently, it is recommended to uninstall cloud-init from the guest operating system before cloning a virtual machine.
Uninstalling cloud-init
The way to uninstall cloud-init depends on the software management tool used during its installation. For example, if cloud-init is installed with yum install, you need to use yum remove to uninstall it.