]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
feat(dracut.install): force hostonly for kernel-install plugin
authorJo Zzsi <jozzsicsataban@gmail.com>
Thu, 23 Jan 2025 23:29:42 +0000 (18:29 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 24 Jan 2025 16:26:52 +0000 (11:26 -0500)
Distributions that have adapted and integrated dracut and
adopted the dracut kernel install plugin should default to
hostonly mode initrd.

install.d/50-dracut.install

index 14f87721641ee3d77a29cc6a1cb30d518187daa9..6019e8d8103eeccb02643dd07617221ade3751d8 100755 (executable)
@@ -71,6 +71,7 @@ done
 
 # shellcheck disable=SC2046
 dracut -f \
+    --add-confdir hostonly \
     ${noimageifnotneeded:+--noimageifnotneeded} \
     $([[ $KERNEL_INSTALL_VERBOSE == 1 ]] && echo --verbose) \
     $([[ -n $KERNEL_IMAGE ]] && echo --kernel-image "$KERNEL_IMAGE") \