From b6675576ef71e12b39bdec6699ce567947103b4b Mon Sep 17 00:00:00 2001 From: Qiuwen Lu Date: Wed, 17 May 2017 09:40:03 +0800 Subject: 修正网卡绑定脚本中绑定所有网卡操作是传参数数量不一致的Bug。 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/devbind/devbind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devbind/devbind.py b/tools/devbind/devbind.py index 6855ffc..39b8ea0 100644 --- a/tools/devbind/devbind.py +++ b/tools/devbind/devbind.py @@ -355,7 +355,7 @@ def bind_all(devices, dev_list, driver, force=False): # check if updated information indicates that the device was bound if "Driver_str" in devices[d]: - unbind_one(d, force) + unbind_one(devices, d, force) def hwfile_encode(location): devices = get_nic_details() -- cgit v1.2.3