Abiquo can set a hostname (as part of a fully qualified domain name (FQDN)) before you deploy a VM, with one of the following options (in order of priority):
The FQDN that the user manually enters for the VM
A hostname based on the Abiquo database ID, plus VM network domain name (from the VM NIC or VDC default
...
network), or
localdomain
(automatic)A hostname that is the
VM_uuid
(or Abiquo database ID on Windows), plus VM network domain name
...
or
localdomain
(automatic)
To choose the automatic hostname, set the following Abiquo API server property.
Code Block |
---|
// Generate VM name from database ID. If false use VM_uuid on Linux and VM_database ID on Windows |
...
abiquo.api.experimental.hostname13charsFromVirtualMachineDatabaseId=true |
The user can define the FQDN when creating a VM using the API. The user can edit the VM and change the FQDN before they deploy the VM, and the API will validate the FQDN.
After deploy, to change the FQDN, the user must make the change the FQDN directly in the operating system of the VM, and Abiquo updates will update the FQDN in the platform.
...