diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-10 09:26:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-11 21:22:07 +0200 |
commit | f1b031589e6c58296cdf73b975c71b10c407bdb3 (patch) | |
tree | aea66328fffbdd9c22d39bddf0fb16248100beb0 /data/templates/accel-ppp/config_name_server.j2 | |
parent | 02f2700d4e3742bacf534c5bd6c4118c66a18aff (diff) | |
download | vyos-1x-f1b031589e6c58296cdf73b975c71b10c407bdb3.tar.gz vyos-1x-f1b031589e6c58296cdf73b975c71b10c407bdb3.zip |
T4353: enable linting of Jinja2 templates
Diffstat (limited to 'data/templates/accel-ppp/config_name_server.j2')
-rw-r--r-- | data/templates/accel-ppp/config_name_server.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/accel-ppp/config_name_server.j2 b/data/templates/accel-ppp/config_name_server.j2 index 4b4b5fb68..9c745fe62 100644 --- a/data/templates/accel-ppp/config_name_server.j2 +++ b/data/templates/accel-ppp/config_name_server.j2 @@ -1,13 +1,13 @@ {% if name_server_ipv4 is vyos_defined %} [dns] -{% for ns in name_server_ipv4 %} +{% for ns in name_server_ipv4 %} dns{{ loop.index }}={{ ns }} -{% endfor %} +{% endfor %} {% endif %} {% if name_server_ipv6 is vyos_defined %} [ipv6-dns] -{% for ns in name_server_ipv6 %} +{% for ns in name_server_ipv6 %} {{ ns }} -{% endfor %} +{% endfor %} {% endif %} |