> *2).* Please do point me to any helpful links from where I can get > understanding of VM's hostname mechanism.
I'm not sure what you're asking here. If cloud-init is installed and is able to connect to the metadata service, cloud-init will set your hostname based on the value provided in the metadata. If cloud-init is *not* installed or is *not* able to connect to the metadata service, the hostname you end up with is going to depend on whatever distribution you happen to be booting (that is, at this point you no long have an openstack question, you have "how does redhat/ubuntu/etc set the hostname if has not been explicitly configured by the administrator?"). On RHEL-ish systems (centos, fedora, etc), if the hostname is set to the default "localhost.localdomain", the system will use reverse dns to determine the name. This behavior may be different on other distributions. -- Lars Kellogg-Stedman <[email protected]> | larsks @ {freenode,twitter,github} Cloud Engineering / OpenStack | http://blog.oddbit.com/
pgpi6ofSIG_Dq.pgp
Description: PGP signature
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
