commit c6b735881493064f7eba6a8418a6d766a3b531f1
Author: Jiri Pirko <jiri(a)resnulli.us>
Date: Thu Sep 13 14:50:26 2012 +0200
do not log ethtool errors
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
NetConfig/NetConfigDevice.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/NetConfig/NetConfigDevice.py b/NetConfig/NetConfigDevice.py
index f991db7..1da5afa 100644
--- a/NetConfig/NetConfigDevice.py
+++ b/NetConfig/NetConfigDevice.py
@@ -75,7 +75,7 @@ class NetConfigDeviceEth(NetConfigDeviceGeneric):
def configure(self):
netdev = self._netdev
exec_cmd("ip addr flush %s" % netdev["name"])
- exec_cmd("ethtool -A %s rx off tx off" % netdev["name"],
die_on_err=False)
+ exec_cmd("ethtool -A %s rx off tx off" % netdev["name"],
die_on_err=False, log_outputs=False)
class NetConfigDeviceBond(NetConfigDeviceGeneric):
_modulename = "bonding"
Show replies by thread