Bridge and VLAN support for ifupdown2 #99

Merged
jeltz merged 5 commits from ifupdown2 into master 2022-08-27 10:26:32 +02:00
Showing only changes of commit d5b0fd85c8 - Show all commits

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 %}