diff --git a/network/config/multiple-nics/compute-dvr.j2.yaml b/network/config/multiple-nics/compute-dvr.j2.yaml index 8e35b973b6..ec7a24cd4f 100644 --- a/network/config/multiple-nics/compute-dvr.j2.yaml +++ b/network/config/multiple-nics/compute-dvr.j2.yaml @@ -25,7 +25,7 @@ parameters: description: IP address/subnet on the {{network.name_lower}} network type: string {{network.name}}NetworkVlanID: - default: {{network.vlan}} + default: {{network.vlan|default("")}} description: Vlan ID for the {{network.name_lower}} network traffic. type: number {%- if network.ipv6|default(false) and network.gateway_ipv6|default(false) %} diff --git a/network/config/multiple-nics/controller-v6.j2.yaml b/network/config/multiple-nics/controller-v6.j2.yaml index 8c4f43b550..b529c5d8f5 100644 --- a/network/config/multiple-nics/controller-v6.j2.yaml +++ b/network/config/multiple-nics/controller-v6.j2.yaml @@ -24,7 +24,7 @@ parameters: description: IP address/subnet on the {{network.name_lower}} network type: string {{network.name}}NetworkVlanID: - default: {{network.vlan}} + default: {{network.vlan|default("")}} description: Vlan ID for the {{network.name_lower}} network traffic. type: number {%- if network.ipv6|default(false) and network.gateway_ipv6|default(false) %} diff --git a/network/config/multiple-nics/role.role.j2.yaml b/network/config/multiple-nics/role.role.j2.yaml index 2020263a12..fa0a1f40d3 100644 --- a/network/config/multiple-nics/role.role.j2.yaml +++ b/network/config/multiple-nics/role.role.j2.yaml @@ -23,7 +23,7 @@ parameters: description: IP address/subnet on the {{network.name_lower}} network type: string {{network.name}}NetworkVlanID: - default: {{network.vlan}} + default: {{network.vlan|default("")}} description: Vlan ID for the {{network.name_lower}} network traffic. type: number {%- if network.ipv6|default(false) and network.gateway_ipv6|default(false) %}