瀏覽代碼

Only add the interface to the ovs_bridge, if the name in ovs_bridge is the same.

tags/mcp0.5
Michel Nederlof 8 年之前
父節點
當前提交
7c077f64b6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      linux/network/interface.sls

+ 1
- 1
linux/network/interface.sls 查看文件

@@ -39,7 +39,7 @@ 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 }}:
cmd.run:

Loading…
取消
儲存