Auto-fill VM name / hostnames

Hi all,

I’m new to opennebula and am testing vonecloud on my vsphere test lab to see if it fits our needs to enable developers to request their own VMs.

One important thing is that we do not want the developers to choose weird VM-names and hostnames. They are realy good at that… We want something simple line “VM_” to be the vm name in opennebula and VMware vcenter/vSphere and also we want to user this as the hostname in the VM.

The out-of-the-box solution give the users the abaility to fill in a name and that will become real messy. having the users name or abreviation als part of the VM-name is also an option, just als long as it is auto-generated and unique.

Does anyone have any tips on how I can accomplish that?

Regards,
John

AFAIK there is no out of the box way to disable the VM naming at instantiation, without changing the code that is.

However, you can define a prefix for all VM names.

Hi Tino, thank you for your reply. I’ll have a look at the vm_prefix. That might just do the trick for me!

Regards,
John