mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
(configd/templates) remove line break from physical_interface
This commit is contained in:
parent
89ef76aa2e
commit
339b77d134
@ -2,7 +2,9 @@
|
||||
macro physical_interface, return physical interface by name (e.g. lan -> em0)
|
||||
#}
|
||||
{% macro physical_interface(name) -%}
|
||||
{% if helpers.exists('interfaces.'+name+'.if') %}
|
||||
{{ helpers.getNodeByTag('interfaces.'+name+'.if') }}
|
||||
{% endif %}
|
||||
{%- endmacro %}
|
||||
{% if helpers.exists('interfaces.'+name+'.if')
|
||||
%} {{
|
||||
helpers.getNodeByTag('interfaces.'+name+'.if')
|
||||
}}{%
|
||||
endif
|
||||
%}{%- endmacro %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user