Commit 339b77d1 authored by Ad Schellevis's avatar Ad Schellevis

(configd/templates) remove line break from physical_interface

parent 89ef76aa
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
macro physical_interface, return physical interface by name (e.g. lan -> em0) macro physical_interface, return physical interface by name (e.g. lan -> em0)
#} #}
{% macro physical_interface(name) -%} {% macro physical_interface(name) -%}
{% if helpers.exists('interfaces.'+name+'.if') %} {% if helpers.exists('interfaces.'+name+'.if')
{{ helpers.getNodeByTag('interfaces.'+name+'.if') }} %} {{
{% endif %} helpers.getNodeByTag('interfaces.'+name+'.if')
{%- endmacro %} }}{%
endif
%}{%- endmacro %}
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