]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
improvement(74nvmf): lookup required NIC kernel modules for NBFT interfaces
authorTomas Bzatek <tbzatek@redhat.com>
Tue, 3 Jun 2025 16:34:39 +0000 (18:34 +0200)
committerLaszlo <laszlo.gombos@gmail.com>
Mon, 8 Sep 2025 15:23:39 +0000 (11:23 -0400)
commit82f7f7df20ef9ecd1c63a533b018d490a23ca543
tree04a7a3cc08b002024052ac3e5795fb37e47efb14
parentc3078914ddd9384106332ba8b672932a63573471
improvement(74nvmf): lookup required NIC kernel modules for NBFT interfaces

When dracut is called with '--hostonly-mode strict' and perhaps even
with --hostonly-nics '' as done by kdump/mkdumprd, all the kernel
modules related to hostonly networking are stripped down. In such
a case it is viable to lookup and install the required kernel modules
ourselves, based on any currently present nbft interfaces.

Note: the lookup depends on the current 'nbftX' network interface
naming.

Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
modules.d/74nvmf/module-setup.sh