After a discussion with Julian, we decided that this should be fixed in the packaging: instead of using 'localhost' (in debian/maas-region-controller.postinst), the packaging script should use the IP address of the default route (just like what it does to populate DEFAULT_MAAS_URL).
After a discussion with Julian, we decided that this should be fixed in the packaging: instead of using 'localhost' (in debian/ maas-region- controller. postinst) , the packaging script should use the IP address of the default route (just like what it does to populate DEFAULT_MAAS_URL).