Browse Source

Only add the interface to the ovs_bridge, if the name in ovs_bridge is the same.

tags/mcp0.5
Michel Nederlof 8 years ago
parent
commit
7c077f64b6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/network/interface.sls

+ 1
- 1
linux/network/interface.sls View File

@@ -39,7 +39,7 @@ ovs_bridge_{{ interface_name }}:

{%- set int_name = int.get('name', int_name) %}

{%- if int.ovs_bridge is defined %}
{%- if int.ovs_bridge is defined and interface_name == int.ovs_bridge %}

add_int_to_ovs_bridge_{{ interface_name }}:
cmd.run:

Loading…
Cancel
Save