Tomas Bzatek fdcd46
From 9dcd32dd85f7f45c3fe6c8d7b1de3b4c322c6807 Mon Sep 17 00:00:00 2001
Tomas Bzatek fdcd46
From: Tomas Bzatek <tbzatek@redhat.com>
Tomas Bzatek fdcd46
Date: Mon, 11 Sep 2023 13:50:24 +0200
Tomas Bzatek fdcd46
Subject: [PATCH] nvme: Require additional rpms for dracut
Tomas Bzatek fdcd46
Tomas Bzatek fdcd46
The '95nvmf' dracut module needs a couple more packages
Tomas Bzatek fdcd46
for the NBFT (NVMe over TCP) to work - such as networking.
Tomas Bzatek fdcd46
Local PCIe NVMe devices have no special needs.
Tomas Bzatek fdcd46
---
Tomas Bzatek fdcd46
 blivet/devices/disk.py | 3 ++-
Tomas Bzatek fdcd46
 1 file changed, 2 insertions(+), 1 deletion(-)
Tomas Bzatek fdcd46
Tomas Bzatek fdcd46
diff --git a/blivet/devices/disk.py b/blivet/devices/disk.py
Tomas Bzatek fdcd46
index 2b49ef685..5053f7bb8 100644
Tomas Bzatek fdcd46
--- a/blivet/devices/disk.py
Tomas Bzatek fdcd46
+++ b/blivet/devices/disk.py
Tomas Bzatek fdcd46
@@ -725,7 +725,8 @@ class NVMeFabricsNamespaceDevice(NVMeNamespaceDevice, NetworkStorageDevice):
Tomas Bzatek fdcd46
 
Tomas Bzatek fdcd46
     """ NVMe fabrics namespace """
Tomas Bzatek fdcd46
     _type = "nvme-fabrics"
Tomas Bzatek fdcd46
-    _packages = ["nvme-cli"]
Tomas Bzatek fdcd46
+    # dracut '95nvmf' module dependencies
Tomas Bzatek fdcd46
+    _packages = ["nvme-cli", "dracut-network"]
Tomas Bzatek fdcd46
 
Tomas Bzatek fdcd46
     def __init__(self, device, **kwargs):
Tomas Bzatek fdcd46
         """