Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
500B

  1. auto {{ bridge_name }}
  2. iface {{ bridge_name }} inet {{ bridge.get('proto', 'static' if bridge.address is defined else 'manual') }}
  3. ovs_type {{ bridge.get('ovs_bridge_type', 'OVSBridge') }}
  4. mtu {{ bridge.get('mtu', '1500') }}
  5. {%- if bridge.address is defined %}
  6. address {{ bridge.address }}
  7. netmask {{ bridge.netmask }}
  8. {%- endif %}
  9. {%- if bridge.gateway is defined %}
  10. gateway {{ bridge.gateway }}
  11. {%- endif %}
  12. {%- if bridge.ovs_options is defined %}
  13. ovs_options {{ bridge.ovs_options }}
  14. {%- endif %}