DaanHoogland commented on a change in pull request #4873: URL: https://github.com/apache/cloudstack/pull/4873#discussion_r603931129
########## File path: systemvm/debian/opt/cloud/bin/cs/CsDhcp.py ########## @@ -127,6 +127,9 @@ def configure_server(self): listen_address.append(gateway) else: listen_address.append(ip) + # Add localized "data-server" records in /etc/hosts for VPC routers + if self.config.is_vpc(): + self.add_host(gateway, "%s data-server" % CsHelper.get_hostname()) Review comment: sorry, never mind, I mis-interpreted the semantics of add_host(). no ip needed in that parameter, a (list of) hosts-name(s) is fine. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org