]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix(dracut): enable hostonly_cmdline in hostonly mode again
authorBenjamin Drung <benjamin.drung@canonical.com>
Fri, 27 Mar 2026 19:53:54 +0000 (20:53 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Fri, 27 Mar 2026 20:27:22 +0000 (16:27 -0400)
commit04af3c097797d102934bc7ec666ed8eef00af9bb
treeb465d4458072aca545bdc9caa4a30117268017a7
parent2804132cbb43dbeb0b5ed65b7f45990c89d4b082
fix(dracut): enable hostonly_cmdline in hostonly mode again

A fresh Ubuntu 26.04 installation with a RAID 1 fails to boot due to not
assembling the RAID, because it neither sets `rd.auto` nor includes the
cmdline (with `rd.md.uuid` set).

The documentation for `hostonly_cmdline` says:

> If **hostonly="yes"** and this option is not configured, it's
> automatically set to "yes".

When `hostonly=yes` was made the default, `hostonly_cmdline` was not set
to `yes` any more in the default case.

Bug-Ubuntu: https://launchpad.net/bugs/2144948
Fixes: 24fb4c28538b ("feat(dracut): make hostonly the default")
dracut.sh