diff --git a/defaults/main.yml b/defaults/main.yml index 70ef2495..1a3007d7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -208,7 +208,7 @@ horizon_enable_ha_router: False horizon_default_dns_nameservers: [] # Provide list of network types that are available for creation -horizon_network_provider_types: "{{ neutron_ml2_drivers_type | default(['geneve', 'vlan', 'flat']) }}" +horizon_network_provider_types: "{{ neutron_ml2_drivers_type | default('geneve,vlan,flat') }}" # DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded # within an iframe. Legacy browsers are still vulnerable to a Cross-Frame diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index df8914f3..cf3f4cdc 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -340,7 +340,7 @@ OPENSTACK_NEUTRON_NETWORK = { # Set which provider network types are supported. Only the network types # in this list will be available to choose from when creating a network. # Network types include local, flat, vlan, gre, and vxlan. - 'supported_provider_types': {{ horizon_network_provider_types | to_json }}, + 'supported_provider_types': {{ horizon_network_provider_types.split(',') | to_json }}, # Set which VNIC types are supported for port binding. Only the VNIC # types in this list will be available to choose from when creating a