|
|
|
@ -28,6 +28,14 @@
|
|
|
|
|
{% if net.gateway|default %}
|
|
|
|
|
':{{ net.gateway }}'
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if net.routes|default %}
|
|
|
|
|
{% if not net.gateway|default %}
|
|
|
|
|
':'
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% for route in net.routes %}
|
|
|
|
|
':{{ route.route }}-{{ route.gw }}'
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
,
|
|
|
|
|
|
|
|
|
@ -36,6 +44,14 @@
|
|
|
|
|
{% if net.gateway6|default %}
|
|
|
|
|
';{{ net.gateway6 }}'
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if net.routes6|default %}
|
|
|
|
|
{% if not net.gateway6|default %}
|
|
|
|
|
';'
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% for route in net.routes6 %}
|
|
|
|
|
';{{ route.net }}-{{ route.gw }}'
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
,
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|