telinwis
Contributor
Contributor

ubuntu host customisation vra7

Jump to solution

we deploying a ubuntu vm blueprint we want our hostname to be updated with the automatic generated vm name from vRA.

Can this only be done with the gugent interface?

Screen Shot 2016-01-20 at 15.19.03.png

We tried to use the "software components" category from the vra7 designer but VirtualMachine.Admin.Name is not known so we can't set the generated hostname via our own script ans this var is not known.

The UseGuestAgent is doing the trick but we want to keep it as simple as possible and make modifications via the software components part.

Regards,

Johnn Grinwis

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
willonit
Hot Shot
Hot Shot

Are you using a vCenter customization script for the blueprint? If you can clone a VM in vCenter using a customization script and it changes the hostname you can use that customization script in the blueprint to set the IP and hostname without the guagent. See vRA/vCAC Clone blueprint Magic Secrets Revealed!‌ for an example.

View solution in original post

0 Kudos
2 Replies
willonit
Hot Shot
Hot Shot

Are you using a vCenter customization script for the blueprint? If you can clone a VM in vCenter using a customization script and it changes the hostname you can use that customization script in the blueprint to set the IP and hostname without the guagent. See vRA/vCAC Clone blueprint Magic Secrets Revealed!‌ for an example.

0 Kudos
telinwis
Contributor
Contributor

build a customization script, disabled VirtualMachine.Admin.UseGuestAgent and it's modifying the hostname in the vm, nice. Smiley Happy

During the first boot, it takes some time to setup the network:

Screen Shot 2016-01-20 at 22.03.42.png

Is this normal behaviour?

0 Kudos