diff options
Diffstat (limited to 'roles/vm/guest/network/templates/interfaces/simple6.j2')
-rw-r--r-- | roles/vm/guest/network/templates/interfaces/simple6.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/vm/guest/network/templates/interfaces/simple6.j2 b/roles/vm/guest/network/templates/interfaces/simple6.j2 index 37fda07a..aa10070a 100644 --- a/roles/vm/guest/network/templates/interfaces/simple6.j2 +++ b/roles/vm/guest/network/templates/interfaces/simple6.j2 @@ -3,8 +3,8 @@ gateway {{ interface.gateway6 }} {% endif %} {% for route in interface.static_routes6 | default([]) %} - up /bin/ip -6 route add {{ route.destination }} via {{ route.gateway }}{% if 'source' in route %} src {{ route.source }}{% endif %} + up /bin/ip -6 route add {{ route.destination }} via {{ route.gateway }}{% if 'source' in route %} src {{ route.source }}{% endif %}{{ '' }} {% endfor %} {% for route in interface.static_routes6 | default([]) | reverse %} - down /bin/ip -6 route del {{ route.destination }} via {{ route.gateway }}{% if 'source' in route %} src {{ route.source }}{% endif %} + down /bin/ip -6 route del {{ route.destination }} via {{ route.gateway }}{% if 'source' in route %} src {{ route.source }}{% endif %}{{ '' }} {% endfor %} |