]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(nvmf): install 8021q module unconditionally
authorMartin Wilck <mwilck@suse.com>
Thu, 12 Jan 2023 10:06:35 +0000 (11:06 +0100)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 26 Jun 2023 07:45:42 +0000 (09:45 +0200)
In NBFT setups, VLAN can be configured in the firmware.
Add the 8021q module in hostonly mode even if VLAN is currently
not used to be prepared for such configuration change.

modules.d/95nvmf/module-setup.sh

index 476b7f77237e0c31541df2ec2380aa1b8f1fbde9..782837a173af7a432bbf00ae19cdc3a5eb0b7faf 100755 (executable)
@@ -50,7 +50,7 @@ depends() {
 # called by dracut
 installkernel() {
     instmods nvme_fc lpfc qla2xxx
-    hostonly="" instmods nvme_tcp nvme_fabrics
+    hostonly="" instmods nvme_tcp nvme_fabrics 8021q
 }
 
 # called by dracut