Hello Expert,
When i am trying to deploy Windows vm through Vra 8 and using custom name ( Typing Manually ) But some extra word is coming along with hostname .
Deployment Name- ICDS-WIN-DB0011 but Vm is I-WIN-APP-001-mcm385-132130544766
Vm name
Can you please help me how to remove extra word (mcm385-132130544766)
How are you actually setting the vRA name of the VM though? Are you setting it with EBS or using the custom naming configuration on the project?
You can't just use the "hostname" property in the YAML.
I have this same question only for Linux VMs. I'm not defining anything in the project, since the project always overrides whatever the requestor picks if a custom name template is picked. I'm not setting it with EBS.
So why can't I just use the 'hostname' that is inputted by the user? You know kind of like vSphere....
I've basically asked the same question here: https://communities.vmware.com/t5/vRealize-Automation-Tools/User-Specified-Hostname-VM-Name/m-p/2853...
To accomplish this in our case we:
1) In the Project, set the 'custom naming' to ${resource.name} and
2) In the Template, set the Cloud.vSphere.Machine property 'name: '${input.Your_Hostname_Input_Field}'
This named the VM and Windows Hostname both to ${input.Your_Hostname_Input_Field}