浏览代码

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 年前
父节点
当前提交
6df65bbd67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      linux/network/interface.sls

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

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

正在加载...
取消
保存