X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=blobdiff_plain;f=source%2Fsteps%2FChainBootNode.py;h=995d4eaaf45e4332a32c799e998a39d8db43e3ac;hp=128254295acce5fb862f231c3f5d8040d9840ef5;hb=f34ef1af6e4ba70e19c943ac3ef388675998b3f8;hpb=6ea670864d602b22ae6236eae1aeb249119002e4 diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index 1282542..995d4ea 100644 --- 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. - 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)