Allow overriding MTU for L3 interfaces

This commit is contained in:
Timotej Lazar 2024-01-17 19:21:13 +01:00
parent c395fe22c7
commit 4420846817

View file

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