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

asked 2017-06-21 08:38:25 -0600

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 "instance1.domain.com"

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

edit retag flag offensive close merge delete