Pārlūkot izejas kodu

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

tags/mcp0.5
Michel Nederlof pirms 8 gadiem
vecāks
revīzija
6df65bbd67
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      linux/network/interface.sls

+ 1
- 1
linux/network/interface.sls Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt