]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(iscsi): 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, 13 Feb 2023 15:17:45 +0000 (16:17 +0100)
In iBFT 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/95iscsi/module-setup.sh

index e7d74fe333401d034b8d7b646014282b8ff6404e..2bea2fcee381b561b8af4270465963c2acb85726 100755 (executable)
@@ -161,7 +161,7 @@ installkernel() {
     local _funcs='iscsi_register_transport'
 
     instmods bnx2i qla4xxx cxgb3i cxgb4i be2iscsi qedi
-    hostonly="" instmods iscsi_tcp iscsi_ibft crc32c iscsi_boot_sysfs
+    hostonly="" instmods iscsi_tcp iscsi_ibft crc32c iscsi_boot_sysfs 8021q
 
     if [ "$_arch" = "s390" -o "$_arch" = "s390x" ]; then
         _s390drivers="=drivers/s390/scsi"