Commit 763c82cc authored by Romain Courteaud's avatar Romain Courteaud

IP hack is needed on all partitions

parent d6a0245b
......@@ -122,17 +122,11 @@ class Recipe:
buildout.set('slap-parameter', parameter, value)
buildout.add_section('slap-network-information')
if software_type in ('production', 'mariadb-prod'):
# XXX Hack for beteireflow production
buildout.set('slap-network-information', 'local-ipv4',
self.getLoopbackIPv4Address())
buildout.set('slap-network-information', 'global-ipv6',
self.getGlobalIPv4Address())
else:
buildout.set('slap-network-information', 'local-ipv4',
self.getLocalIPv4Address())
buildout.set('slap-network-information', 'global-ipv6',
self.getGlobalIPv6Address())
# Copy/paste slap_connection
buildout.add_section('slap-connection')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment