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:
9f24545
)
Make dhclient persistent, so transient network failures don't make nodes unreachable.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 4 Dec 2008 22:04:23 +0000
(22:04 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 4 Dec 2008 22:04:23 +0000
(22:04 +0000)
plnet.py
patch
|
blob
|
history
diff --git
a/plnet.py
b/plnet.py
index
c012067
..
c420203
100755
(executable)
--- a/
plnet.py
+++ b/
plnet.py
@@
-56,6
+56,7
@@
def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa
elif network['method'] == "dhcp":
inter['BOOTPROTO'] = "dhcp"
+ inter['PERSISTENT_DHCLIENT'] = "yes"
if network['hostname']:
inter['DHCP_HOSTNAME'] = network['hostname']
else: