Merge "Fix database configuration for remote MariaDB setups"

This commit is contained in:
Jenkins 2017-06-19 16:56:17 +00:00 committed by Gerrit Code Review
commit 655f718607
1 changed files with 2 additions and 2 deletions

View File

@ -96,9 +96,9 @@ def initSequences(controller):
def create_manifest(config, messages):
if config['CONFIG_MARIADB_INSTALL'] == 'y':
host = config['CONFIG_MARIADB_HOST']
else:
host = config['CONFIG_CONTROLLER_HOST']
else:
host = config['CONFIG_MARIADB_HOST']
if config['CONFIG_IP_VERSION'] == 'ipv6':
config['CONFIG_MARIADB_HOST_URL'] = "[%s]" % host