Sfoglia il codice sorgente

added dependency create ovsbridge first

pull/172/head
Martin Horak 6 anni fa
parent
commit
80c367fb0d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      linux/network/interface.sls

+ 2
- 0
linux/network/interface.sls Vedi File

@@ -173,6 +173,8 @@ ovs_bond_{{ interface_name }}:
cmd.run:
- name: ovs-vsctl add-bond {{ interface.bridge }} {{ interface_name }} {{ interface.slaves }} bond_mode={{ interface.mode }}
- unless: ovs-vsctl show | grep -A 2 'Port.*{{ interface_name }}.'
- require:
- ovs_bridge_{{ interface.bridge }}_present

{%- elif interface.type == 'ovs_port' %}


Loading…
Annulla
Salva