From 0464b41d8dfc7676429fcee67357bf01e09eac7d 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 Resolves: #1933787 --- 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 0825b51c..ce5ccde2 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"