diff --git a/releasenotes/notes/undercloud-nameservers-fbfca8af10b3097f.yaml b/releasenotes/notes/undercloud-nameservers-fbfca8af10b3097f.yaml new file mode 100644 index 000000000..807e1eb30 --- /dev/null +++ b/releasenotes/notes/undercloud-nameservers-fbfca8af10b3097f.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + Bind ``undercloud_nameservers`` defined in `undercloud.conf` to the + ``DnsServers`` heat stack parameter. This ensures DNS + configuration applied via os-net-config undercloud install time as well. + That works additionally to ``UndercloudNameserver`` limited to the + ctlplane subnet DNS configuration executed at post-install steps only. diff --git a/tripleoclient/v1/undercloud_config.py b/tripleoclient/v1/undercloud_config.py index 6dfcc7caa..a201f9dc4 100644 --- a/tripleoclient/v1/undercloud_config.py +++ b/tripleoclient/v1/undercloud_config.py @@ -42,6 +42,7 @@ PARAMETER_MAPPING = { 'undercloud_public_host': 'CloudName', 'scheduler_max_attempts': 'NovaSchedulerMaxAttempts', 'local_mtu': 'UndercloudLocalMtu', + 'undercloud_nameservers': 'DnsServers' } THT_HOME = os.environ.get('THT_HOME',