Commit fdb2b87b authored by Vincent Pelletier's avatar Vincent Pelletier

Use IPv6 to access mariadb.

parent 8c0914a2
......@@ -184,7 +184,7 @@ context =
[template-mariadb]
< = template-jinja2-base
filename = instance-mariadb.cfg
md5sum = 867bd8e3c4f56db2aab2fcad59f2efd8
md5sum = 78fa0d9e9f98875093b6d9929d6f2ccf
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 = ${slap-parameter:test-database-amount}
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