Fix typo in network templates

There was typo in templates default_route_network vs
default_route_networks.

Change-Id: Id07612cbae1bc23fa8785d22ec49f70a1403dce0
This commit is contained in:
Lukas Bezdicka 2018-03-09 23:42:02 +01:00
parent 3004c31d72
commit ad8446ecc0
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ resources:
- ip_netmask:
get_param: {{network.name}}IpSubnet
{%- endif %}
{%- if network.name == role.default_route_network %}
{%- if network.name == role.default_route_networks %}
routes:
- default: true
next_hop:

View File

@ -89,7 +89,7 @@ resources:
addresses:
- ip_netmask:
get_param: {{network.name}}IpSubnet
{%- if network.name in role.default_route_network %}
{%- if network.name in role.default_route_networks %}
routes:
- default: true
next_hop: