From a65fab69662d3adf52eb968411f59ebc5a173f7c Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Sat, 17 Sep 2022 00:02:16 +0200 Subject: [PATCH] fix(nvmf): run cmdline hook before parse-ip-opts.sh This way we can set "rd.neednet" and have it seen by parse-ip-options.sh --- modules.d/95nvmf/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/95nvmf/module-setup.sh b/modules.d/95nvmf/module-setup.sh index 0825b51c2d..ce5ccde2bc 100755 --- a/modules.d/95nvmf/module-setup.sh +++ b/modules.d/95nvmf/module-setup.sh @@ -128,7 +128,7 @@ install() { inst_script "${moddir}/nvmf-autoconnect.sh" /sbin/nvmf-autoconnect.sh inst_multiple nvme - inst_hook cmdline 99 "$moddir/parse-nvmf-boot-connections.sh" + inst_hook cmdline 92 "$moddir/parse-nvmf-boot-connections.sh" inst_simple "/etc/nvme/discovery.conf" inst_rules /usr/lib/udev/rules.d/71-nvmf-iopolicy-netapp.rules inst_rules "$moddir/95-nvmf-initqueue.rules"