Bladeren bron

Merge pull request #54 from mnederlof/master

In setups with more than 1 interface / bond, it does not work
tags/mcp0.5
Filip Pytloun 8 jaren geleden
bovenliggende
commit
de88aebf52
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      linux/network/interface.sls

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

@@ -39,9 +39,9 @@ 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 }}:
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