summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-05-31 12:34:15 -0400
committerDan Radez <dradez@redhat.com>2016-06-08 09:18:22 -0400
commit620939453658f89394a59979f7f6c8c0e1c8e836 (patch)
treef4e0fafb4595535e4fd2ebe9027064c5c12d132f /lib
parent5c9c130fb9d6609ac1f0ebbf6945e63667c6b168 (diff)
Enabling DNS server assignment in entwork settings
Change-Id: Ibb30129ca52392cd152b6af61e0545ba47153bda Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/python/apex/network_environment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/apex/network_environment.py b/lib/python/apex/network_environment.py
index e6f0135a..03ecf06a 100644
--- a/lib/python/apex/network_environment.py
+++ b/lib/python/apex/network_environment.py
@@ -78,6 +78,7 @@ class NetworkEnvironment:
net_settings[constants.PUBLIC_NETWORK]['gateway']
self.netenv_obj[param_def]['EC2MetadataIp'] = \
net_settings[constants.ADMIN_NETWORK]['provisioner_ip']
+ self.netenv_obj[param_def]['DnsServers'] = net_settings['dns_servers']
if constants.PRIVATE_NETWORK in enabled_networks:
priv_range = net_settings[constants.PRIVATE_NETWORK][