Merge "Add support for the default_dns_nameservers variable"

This commit is contained in:
Zuul 2018-07-21 13:24:32 +00:00 committed by Gerrit Code Review
commit 51979f4951
2 changed files with 15 additions and 1 deletions

View File

@ -135,6 +135,9 @@ horizon_simple_ip_management: True
# To enable ha router support in horizon set to True
horizon_enable_ha_router: False
# Provide default DNS servers to use when a subnet is created.
horizon_default_dns_nameservers: []
# DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded
# within an iframe. Legacy browsers are still vulnerable to a Cross-Frame
# Scripting (XFS) vulnerability, so this option allows extra security hardening

View File

@ -315,7 +315,18 @@ OPENSTACK_NEUTRON_NETWORK = {
# port.
# VNIC types include 'normal', 'macvtap' and 'direct'.
# Set to empty list or None to disable VNIC type selection.
'supported_vnic_types': ['*']
'supported_vnic_types': ['*'],
{% if horizon_default_dns_nameservers is defined %}
# Default DNS servers you would like to use when a subnet is created.
# This is only a default. Users can still choose a different list of
# dns servers.
'default_dns_nameservers': [
{% for item in horizon_default_dns_nameservers %}
'{{ item }}',
{% endfor %}
]
{% endif %}
}
# The OPENSTACK_HEAT_STACK settings can be used to disable password