]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix(74nvmf): set root=nvmf main
authorTomas Bzatek <tbzatek@redhat.com>
Tue, 24 Jun 2025 14:50:31 +0000 (16:50 +0200)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 5 Sep 2025 22:40:41 +0000 (18:40 -0400)
commit585d7419c7f9dec3fe3024aa03de415571856a9b
treeab2df1b7ee0d711f849671e1c95cfb6d627dce04
parent70466f562734007c6036ddb2c69422bc8c46a823
fix(74nvmf): set root=nvmf

In a restricted image like kdump the kernel commandline argument root=
is typically absent. However it is required by the 45net-lib/netroot.sh
module that fails with:

    [   23.599862] dracut: FATAL: No or empty root= argument
    [   23.604956] dracut: Refusing to continue

Inspired by the 74iscsi module, let's set it to root=nvmf if not set
before.

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