Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does the nova_api service determine the suffix to add to each instance name to generate a hostname?

By default, the nova-api service generates a key in meta_data.json "hostname" which is set to "<instance_name>.novalocal". I need to change novalocal to something else, but I cannot find where this setting is stored. I set dhcp_domain in nova.conf, and this added my suffix to the dns search list sent to instances by dnsmasq, but it didn't affect the hostnames. Any idea where/how this can be set?