When deploying a new VM from a RHEL or CentOS template in the VCD catalog, the Guest OS Customization features in the UI fail to apply.
root password is not changed.open-vm-tools and cloud-init packages installedThe root cause is a software conflict on the VM template. The customization data sent from the VCD UI is incompatible with the cloud-init package.
The open-vm-tools service, which handles customization, is designed to check for cloud-init.
open-vm-tools starts, it detects that cloud-init is installed.cloud-init.cloud-init can read, so it is ignored.
For the VCD UI customization to work, the cloud-init package must be removed to prevent this conflict. Modify your VM template to remove the conflicting cloud-init package. This forces open-vm-tools to use its traditional engine, which correctly reads the settings from the VCD UI.
open-vm-tools and perl) are installed.sudo dnf install open-vm-tools perl -ysudo dnf remove cloud-init -ysudo rm -rf /etc/cloud/sudo rm -rf /var/lib/cloud/After deploying new VMs from this corrected template, the "Administrator Password" and "Customization Script" fields in the VCD UI during a Power On and Force Recustomization will function as expected.
Documentation for helping to understand the conflict and options are below: