Commit a8ea156b authored by Romain Courteaud's avatar Romain Courteaud

Provide MariaDB access over IPv6.

parent 71ae4854
......@@ -187,7 +187,7 @@ context =
[template-mariadb]
< = template-jinja2-base
filename = instance-mariadb.cfg
md5sum = 0e8e9bfc8c8a5f1bd71f5c4f346ef68b
md5sum = ff64d128a076f9a55faa660b2e86e3b4
extra-context =
key coreutils_location coreutils:location
key dcron_location dcron:location
......
......@@ -16,7 +16,7 @@ offline = true
[publish-mariadb-url]
recipe = slapos.cookbook:publishurl
url = mysql://${mariadb-instance:user}:${mariadb-instance:password}@${mariadb-instance:ip}:${mariadb-instance:port}/${mariadb-instance:database}
url = mysql://${mariadb-instance:user}:${mariadb-instance:password}@[${mariadb-instance:ip}]:${mariadb-instance:port}/${mariadb-instance:database}
[cron-entry-mariadb-backup]
<= cron
......@@ -32,7 +32,7 @@ recipe = slapos.cookbook:generic.mysql
user = user
parallel-test-database-amount = 100
port = 45678
ip = ${slap-network-information:local-ipv4}
ip = ${slap-network-information:global-ipv6}
database = erp5
test-user = erp5_test
test-database = erp5_test
......
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