From 6deb54c5a1d7810ef8365480bec00362d3d82ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Sat, 22 Sep 2018 01:15:16 +0200 Subject: [PATCH] Fix list concatenation of routes in bond-with-vlan We are passing a list of routes to concatenate. This list was nested in another list, causing an invalid configuration. Closes-Bug: #1793838 Change-Id: I7a8bc5d2171905237fe36d5ccad853f838c9bffc --- network/config/bond-with-vlans/role.role.j2.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/config/bond-with-vlans/role.role.j2.yaml b/network/config/bond-with-vlans/role.role.j2.yaml index 8787ef0bd5..a7c072a398 100644 --- a/network/config/bond-with-vlans/role.role.j2.yaml +++ b/network/config/bond-with-vlans/role.role.j2.yaml @@ -130,9 +130,9 @@ resources: get_param: {{network.name}}IpSubnet routes: list_concat_unique: - - - get_param: {{network.name}}InterfaceRoutes + - get_param: {{network.name}}InterfaceRoutes {%- if network.name in role.default_route_networks %} - - default: true + - - default: true next_hop: get_param: {{network.name}}InterfaceDefaultRoute {%- endif %}