In VMware Cloud Director (VCD), the VM name displayed in the Tenant Portal or Provider Portal may not align with the hostname configured inside the Guest Operating System. This can lead to confusion during monitoring and inventory auditing.
10.x
VCD maintains two separate name attributes for a virtual machine:
VM Name: The label used in the VCD inventory database.
Computer Name: The hostname residing within the Guest OS (accessible via Guest Customization).
If a VM is deployed from a template and the user provides a new inventory name without enabling "Guest Customization" to update the internal hostname, a mismatch occurs.
To align the names for an existing VM:
Log in to the VCD Tenant Portal.
Go to Resources > Virtual Machines.
Click on the name of the affected VM.
Navigate to the General section and click Edit.
Update the Name field to match the actual hostname of the Guest OS.
Click Save.
Note: This change only affects the VCD inventory display and is non-disruptive to the running VM.
To ensure alignment during deployment:
Enable Guest Customization.
Select the option Use VM Name for the Computer Name setting.