Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Original draft by Hari Kannan

Explanation of “Names” as of now

  • Display Name: user can optionally specify a “name” when requesting a VM to be stood up – this name is purely a “GUI” name, as neither CloudStack backend nor VMware or the VM OS instance knows about this VM OS
  • Hostname: this is a unique UUID generated by CloudStack (‘output of hostname command’, but not the name known to vCenter/hypervisor)
  • Internal Name: created by CS (conforming to a spec) and this is the name known/displayed by vCenter/hypervisor as well.

Requirement

  • User provided Display Name needs to be set as the Internal Name (can be seen by vCenter/ESX/other hypervisors)
  • User provided display name also needs to be the VM's OS Hostname.
  • Create a global setting that will enable this functionality, with default value to be false.
  • This setting of user provided hostname is possible only when VM is instantiated (for the first time)
  • Please note that, when user specifies a name, all names (display name, OS Hostname and internal name will all be the same)