If the original hostname is not localhost in the image used by the VM instance, the DHCP service will use the original hostname rather than assign a new hostname.