ifupdown2: add bridge_disable_pvid option
This commit is contained in:
parent
f6b12fd696
commit
d5b0fd85c8
1 changed files with 4 additions and 0 deletions
|
@ -25,5 +25,9 @@ iface {{ name }}
|
|||
{% if iface.vlan_raw_device is defined %}
|
||||
vlan-raw-device {{ iface.vlan_raw_device }}
|
||||
{% endif %}
|
||||
{% if iface.bridge_disable_pvid | default(false) %}
|
||||
bridge-pvid 0
|
||||
post-up bridge vlan del dev {{ name }} vid 1 self
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue