Browse Source

Merge "Fix unless check when creating ovs peer interface"

pull/115/head
jenkins-mk jenkins-mk 7 years ago
parent
commit
c1b619b7f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/network/interface.sls

+ 1
- 1
linux/network/interface.sls View File

@@ -70,7 +70,7 @@ ovs_port_set_type_{{ interface_name }}:
ovs_port_set_peer_{{ interface_name }}:
cmd.run:
- name: ovs-vsctl set interface {{ interface_name }} options:peer={{ interface.peer }}
- unless: ovs-vsctl show | grep -A 2 'Interface floating-to-prv' | grep {{ interface.peer }}
- unless: ovs-vsctl show | grep -A 2 'Interface {{ interface_name }}' | grep {{ interface.peer }}

{%- else %}


Loading…
Cancel
Save