From 8adbf9cf56f486f2f974cf6cdfda657293aff141 Mon Sep 17 00:00:00 2001 From: David Lehman Date: Fri, 19 Oct 2018 09:49:56 -0400 Subject: [PATCH 1/2] Require libfc instead of fcoe for offloaded FCoE. (#1575953) --- blivet/fcoe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blivet/fcoe.py b/blivet/fcoe.py index 1a2cf9d4..3a1887dc 100644 --- a/blivet/fcoe.py +++ b/blivet/fcoe.py @@ -32,13 +32,13 @@ _fcoe_module_loaded = False def has_fcoe(): global _fcoe_module_loaded if not _fcoe_module_loaded: - util.run_program(["modprobe", "fcoe"]) + util.run_program(["modprobe", "libfc"]) _fcoe_module_loaded = True if "bnx2x" in util.lsmod(): log.info("fcoe: loading bnx2fc") util.run_program(["modprobe", "bnx2fc"]) - return os.access("/sys/module/fcoe", os.X_OK) + return os.access("/sys/module/libfc", os.X_OK) class FCoE(object): -- 2.17.2