Przeglądaj źródła

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 lat temu
rodzic
commit
6df65bbd67
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      linux/network/interface.sls

+ 1
- 1
linux/network/interface.sls Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz