If the original hostname is localhost in the image used by the VM instance, the DHCP service will associate hostname with the IP address of the VM instance. For example, if the IP address of the VM instance is 192.168.12.3, then hostname for the VM instance is 192-168-12-3.