From: Daniel Hokka Zakrisson Date: Mon, 8 Dec 2008 17:00:50 +0000 (+0000) Subject: Add DNS* settings for static configuration. X-Git-Tag: pyplnet-4.3-0~6 X-Git-Url: http://git.onelab.eu/?p=pyplnet.git;a=commitdiff_plain;h=0a2a241036253ece582def099b5440e893d83014 Add DNS* settings for static configuration. --- diff --git a/plnet.py b/plnet.py index 1410a0e..ee3d253 100755 --- a/plnet.py +++ b/plnet.py @@ -62,6 +62,8 @@ def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa inter['BOOTPROTO'] = "static" inter['IPADDR'] = network['ip'] inter['NETMASK'] = network['netmask'] + inter['DNS1'] = network['dns1'] + inter['DNS2'] = network['dns2'] if network['is_primary']: gateway = network['gateway']