Starting with VMware Cloud Director 10.4.2.2, you can change the length of the automatically generated passwords for VMs with enabled guest OS customization.
By default, when activating the guest customization on a VM and using the password auto generation option, VMware Cloud Director generates a password that contains 8 characters.
If you change the length parameter for auto generated password, VMware Cloud Director uses the same configuration for every consecutive VM with enabled guest customization.
- Log in or SSH as root to the OS of the VMware Cloud Director cell.
- Run the command in the following form.
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n adminPasswordLength -v characters-number