Commit 0a7b78ec authored by Pietsch, Martin's avatar Pietsch, Martin

join nameserver list with comma characters

parent 5db131e8
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"code": 6, "code": 6,
"space": "dhcp4", "space": "dhcp4",
"csv-format": true, "csv-format": true,
"data": netclass.dns.nameservers.ipv4 }) -%} "data": netclass.dns.nameservers.ipv4 | join(',') }) -%}
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{%- if netclass.dns.domain is defined -%} {%- if netclass.dns.domain is defined -%}
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
"code": 23, "code": 23,
"space": "dhcp6", "space": "dhcp6",
"csv-format": true, "csv-format": true,
"data": netclass.dns.nameservers.ipv6 }) -%} "data": netclass.dns.nameservers.ipv6 | join(',') }) -%}
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{%- if netclass.dns.domain is defined -%} {%- if netclass.dns.domain is defined -%}
......
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