git://git.onelab.eu
/
pyplnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
38682c2
)
Add DNS* settings for static configuration.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Mon, 8 Dec 2008 17:00:50 +0000
(17:00 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Mon, 8 Dec 2008 17:00:50 +0000
(17:00 +0000)
plnet.py
patch
|
blob
|
history
diff --git
a/plnet.py
b/plnet.py
index
1410a0e
..
ee3d253
100755
(executable)
--- 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']