From d9687ede9928eb8ec6a7b3ff238f7b9fd319a670 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 23 Aug 2020 01:56:46 +0200 Subject: revamp installer playbooks and add ch-apps vm --- roles/vm/host/network/templates/interfaces/simple6.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/vm/host/network/templates/interfaces/simple6.j2') diff --git a/roles/vm/host/network/templates/interfaces/simple6.j2 b/roles/vm/host/network/templates/interfaces/simple6.j2 index 37fda07a..aa10070a 100644 --- a/roles/vm/host/network/templates/interfaces/simple6.j2 +++ b/roles/vm/host/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 %} -- cgit v1.2.3