Merge "Do not create NetworkVlanID is the value is not defined"
This commit is contained in:
@@ -32,7 +32,9 @@ parameter_defaults:
|
||||
{%- endfor %}
|
||||
# Customize the VLAN IDs to match the local environment
|
||||
{%- for network in networks if network.enabled|default(true) %}
|
||||
{%- if network.vlan is defined %}
|
||||
{{network.name}}NetworkVlanID: {{network.vlan}}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
# Customize the IP ranges on each network to use for static IPs and VIPs
|
||||
{%- for network in networks if network.enabled|default(true) %}
|
||||
|
||||
@@ -27,7 +27,9 @@ parameter_defaults:
|
||||
{%- endfor %}
|
||||
# Customize the VLAN IDs to match the local environment
|
||||
{%- for network in networks if network.enabled|default(true) %}
|
||||
{%- if network.vlan is defined %}
|
||||
{{network.name}}NetworkVlanID: {{network.vlan}}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- for network in networks if network.enabled|default(true) %}
|
||||
{%- if network.name == 'External' %}
|
||||
|
||||
Reference in New Issue
Block a user