Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hostname of vms, how they are assigned? if the VM name gets updated, what happens to the hostname

Hi I have a doubt here, if I have VM with name: 'instance1', if I do a service call on this with this OS-EXT-SRV-ATTR:host, what should it return the host name of the VM or the hostname on which it is hosted and what would OS-EXT-SRV-ATTR:hypervisor_hostname will return what I am experiencing is OS-EXT-SRV-ATTR:host and ATTR:hypervisor_hostname both are returning the same, and neither is ""

How can I get the host name of a virtual machine?