Typo
This commit is contained in:
parent
9c11fc7a83
commit
716eb3f4d6
|
@ -42,7 +42,7 @@ iface {{ item['name'] }} inet static
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item['routes'] is defined %}
|
{% if item['routes'] is defined %}
|
||||||
{% for route in item['routes'] %}
|
{% for route in item['routes'] %}
|
||||||
up ip route add {{ route['network'] } via {{ route['gateway'] } || true
|
up ip route add {{ route['network'] }} via {{ route['gateway'] }} || true
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -67,7 +67,7 @@ iface {{ item['name'] }} inet static
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item['routes'] is defined %}
|
{% if item['routes'] is defined %}
|
||||||
{% for route in item['routes'] %}
|
{% for route in item['routes'] %}
|
||||||
up ip route add {{ route['network'] } via {{ route['gateway'] } || true
|
up ip route add {{ route['network'] }} via {{ route['gateway'] }} || true
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ auto {{ item['name'] }}
|
||||||
bond-slaves none
|
bond-slaves none
|
||||||
{% if item['routes'] is defined %}
|
{% if item['routes'] is defined %}
|
||||||
{% for route in item['routes'] %}
|
{% for route in item['routes'] %}
|
||||||
up ip route add {{ route['network'] } via {{ route['gateway'] } || true
|
up ip route add {{ route['network'] }} via {{ route['gateway'] }} || true
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ iface {{ item['name'] }} inet static
|
||||||
vlan-raw-device {{ item['vlan-raw-device'] }}
|
vlan-raw-device {{ item['vlan-raw-device'] }}
|
||||||
{% if item['routes'] is defined %}
|
{% if item['routes'] is defined %}
|
||||||
{% for route in item['routes'] %}
|
{% for route in item['routes'] %}
|
||||||
up ip route add {{ route['network'] } via {{ route['gateway'] } || true
|
up ip route add {{ route['network'] }} via {{ route['gateway'] }} || true
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue