Set VM hostname with VMware guest customizations

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):

  1. The FQDN that the user manually enters for the VM

  2. A hostname based on the Abiquo database ID, plus VM network domain name (from the VM NIC or VDC default network), or localdomain (automatic)

  3. 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.

// 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 directly in the operating system of the VM, and Abiquo will update the FQDN in the platform. 

For more information, see Guest setup.

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved