support ipv6 for grafana.ini.j2

grafana not support ipv6 in grafana.ini.j2.

Closes-Bug: #1866141

Change-Id: Ia89a9283e70c10a624f25108b487528dbb370ee4
Signed-off-by: yj.bai <bai.yongjun@99cloud.net>
This commit is contained in:
yj.bai 2020-03-05 10:59:29 +08:00 committed by Radosław Piliszek
parent d749b34160
commit 3e582a05fa
2 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,7 @@ provisioning = /etc/grafana/provisioning
[server]
protocol = http
http_addr = {{ api_interface_address }}
http_addr = {{ api_interface_address | put_address_in_context('url') }}
http_port = {{ grafana_server_port }}
router_logging = true

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue with deploying Grafana when using IPv6.
`LP#1866141 <https://launchpad.net/bugs/1866141>`__