Commit 3900172a authored by nanahira's avatar nanahira

add interfaces_custom

parent d522d098
......@@ -116,6 +116,10 @@ post-down {{ansible_user_dir}}/nextgen-router/scripts/{{br.name}}/post-down.sh
{% if br.mtu is defined and br.mtu %}
mtu {{br.mtu}}
{% endif %}
{% if br.interfaces_custom is defined and br.interfaces_custom %}
# custom
{{br.interfaces_custom}}
{% endif %}
{% endfor %}
......
......@@ -45,6 +45,7 @@ vars:
pxe: # 为该段指定特别的PXE服务器
file: somefile.txt
address: 10.0.0.4
interfaces_custom: '' # 自定义条目
- name: brwan
links:
- bond0.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment