From 66bd74d59d1b2eb2f00f91aa7c22897cfde58748 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 10 May 2023 05:37:17 +0000 Subject: [PATCH] Fix dracut cmdline --- kernel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.go b/kernel.go index ede5bf9..2aae70a 100644 --- a/kernel.go +++ b/kernel.go @@ -516,7 +516,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e cmd += fmt.Sprintf(" && yum -y install %s %s", imagepkg, pkgname) - cmd += fmt.Sprintf(" && dracut --add-drivers 'e1000 ext4' -fv "+ + cmd += fmt.Sprintf(" && dracut -v --add-drivers 'e1000 ext4' -f "+ "/boot/initramfs-%s.img %s", version, version) case config.OracleLinux: var headerspkg string