summaryrefslogtreecommitdiffstats
path: root/lib/python/apex
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-10-07 15:54:45 -0400
committerFeng Pan <fpan@redhat.com>2016-10-07 18:55:46 -0400
commitb7982d37d210df44797d35906ceacaaf70d2f584 (patch)
tree03c5c2c602cdec8a14ac541863d37c53f97ccbe8 /lib/python/apex
parentdfe970932417a0a6ceca1b84d16aa51ba30e07f3 (diff)
Fix dns server setting parsing
JIRA: APEX-294 Change-Id: I4b9aed3fc2ea35a918203a0edc995b73020d122c Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'lib/python/apex')
-rw-r--r--lib/python/apex/network_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/apex/network_settings.py b/lib/python/apex/network_settings.py
index 006d18c3..ca40ba93 100644
--- a/lib/python/apex/network_settings.py
+++ b/lib/python/apex/network_settings.py
@@ -112,7 +112,7 @@ class NetworkSettings(dict):
if 'dns-domain' not in self:
self['domain_name'] = DOMAIN_NAME
- self['dns_servers'] = self.get('dns_servers', DNS_SERVERS)
+ self['dns_servers'] = self.get('dns_nameservers', DNS_SERVERS)
def _validate_overcloud_nic_order(self, network):
"""