Fix dns server setting parsing 17/22817/1
authorFeng Pan <fpan@redhat.com>
Fri, 7 Oct 2016 19:54:45 +0000 (15:54 -0400)
committerFeng Pan <fpan@redhat.com>
Fri, 7 Oct 2016 22:55:46 +0000 (18:55 -0400)
JIRA: APEX-294

Change-Id: I4b9aed3fc2ea35a918203a0edc995b73020d122c
Signed-off-by: Feng Pan <fpan@redhat.com>
lib/python/apex/network_settings.py

index 006d18c..ca40ba9 100644 (file)
@@ -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):
         """