Commit b248559e authored by nanahira's avatar nanahira

fix too long

parent 4b2960a6
...@@ -69,7 +69,7 @@ auto {{br.name}} ...@@ -69,7 +69,7 @@ auto {{br.name}}
allow-hotplug {{br.name}} allow-hotplug {{br.name}}
iface {{br.name}} inet {{br.type}} iface {{br.name}} inet {{br.type}}
{% if br.links is defined and br.links and br.links | length > 0 %} {% if br.links is defined and br.links and br.links | length > 0 %}
bridge_ports{% for link in br.links %} {% if br.macvlan is defined and br.macvlan %}{{br.name}}{{link | regex_replace('\.', '-')}}{% else %}{{link}}{% endif %}{% endfor %} bridge_ports{% for link in br.links %} {% if br.macvlan is defined and br.macvlan %}{{br.name}}{{link | regex_replace('\.', '')}}{% else %}{{link}}{% endif %}{% endfor %}
{% else %} {% else %}
bridge_ports none bridge_ports none
......
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