ifupdown2: add bridge_disable_pvid option

This commit is contained in:
jeltz 2022-08-27 09:18:16 +02:00
parent f6b12fd696
commit d5b0fd85c8
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -25,5 +25,9 @@ iface {{ name }}
{% if iface.vlan_raw_device is defined %} {% if iface.vlan_raw_device is defined %}
vlan-raw-device {{ iface.vlan_raw_device }} vlan-raw-device {{ iface.vlan_raw_device }}
{% endif %} {% endif %}
{% if iface.bridge_disable_pvid | default(false) %}
bridge-pvid 0
post-up bridge vlan del dev {{ name }} vid 1 self
{% endif %}
{% endfor %} {% endfor %}