VMware Cloud Community
bdamian
Expert
Expert
Jump to solution

vRA 7.3 custom spec - Computer Name and Hostname

Hi all,

I need to specify the a "Computer Name" in customization spec different from the "Machine Name". I've modified the custom spec in vCenter as shown in the capture below:

pastedImage_0.png

But then, I cannot find the way to specify that parameter with custom properties. I always get the same error message: "A specified parameter was not correct: spec.identity.hostname"

pastedImage_1.png

I've tried with:

  • ext.policy.activedirectory.system.machineName
  • SysPrep.UserData.ComputerName
  • spec.identity.hostname
  • VirtualMachine.Admin.Name

Any ideas?

Thanks.

A specified parameter was not correct: spec.identity.hostname

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
20 Replies
bdamian
Expert
Expert
Jump to solution

Hi KoThwin,

In the Custom Spec, you must select "Use the virtual machine name". This will be the custom property "hostname".

pastedImage_0.png

After deploy, you will change the name of the VM.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
Reply
0 Kudos