Browse Source

Because it is possible to add more interfaces to the same bridge, make the salt resource name more unique.

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

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

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

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

add_int_to_ovs_bridge_{{ interface_name }}:
add_int_{{ int_name }}_to_ovs_bridge_{{ interface_name }}:
cmd.run:
- unless: ovs-vsctl show | grep {{ int_name }}
- name: ovs-vsctl add-port {{ interface_name }} {{ int_name }}

Loading…
Cancel
Save