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
(cherry picked from commit 6deb54c5a1)
This commit is contained in:
Harald Jensås 2018-09-22 01:15:16 +02:00
parent 78d3ab1e42
commit bee73a876b

View File

@ -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 %}