git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service and ifconfig have gone
[bootmanager.git]
/
source
/
steps
/
ChainBootNode.py
diff --git
a/source/steps/ChainBootNode.py
b/source/steps/ChainBootNode.py
index
1282542
..
995d4ea
100644
(file)
--- a/
source/steps/ChainBootNode.py
+++ b/
source/steps/ChainBootNode.py
@@
-236,7
+236,8
@@
def Run(vars, log):
# there are a few buggy drivers that don't disable their hardware
# correctly unless they are first unloaded.
# there are a few buggy drivers that don't disable their hardware
# correctly unless they are first unloaded.
- utils.sysexec_noerr("ifconfig eth0 down", log)
+ utils.sysexec_noerr("ifconfig eth0 down || /usr/libexec/nm-ifdown eth0",
+ log, shell=True)
utils.sysexec_noerr("killall dhclient", log)
utils.sysexec_noerr("killall dhclient", log)