Bladeren bron

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 jaren geleden
bovenliggende
commit
6df65bbd67
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      linux/network/interface.sls

+ 1
- 1
linux/network/interface.sls Bestand weergeven

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

Laden…
Annuleren
Opslaan