servers/templates/fabric.intf.j2

7 lines
175 B
Django/Jinja

{% for iface in interfaces | selectattr('name', 'match', '^lan') %}
auto {{ iface.name }}
iface {{ iface.name }}
mtu {{ iface.mtu | default('9216', true) }}
{% endfor %}