Comment 2 for bug 1805645

Revision history for this message
James Page (james-page) wrote :

This is the code that generates the hostname in the nova metadata:

    def _get_hostname(self):
        return "%s%s%s" % (self.instance.hostname,
                           '.' if CONF.dhcp_domain else '',
                           CONF.dhcp_domain)

This uses a deprecated dhcp_domain option that was part of nova-network.