chore: don't append initrd=
to the kernel command line
I believe it serves no purpose in GRUB config: GRUB pre-loads `initramfs` into memory anyways, so kernel doesn't need to know, nor has now way to load it from anywhere. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
4d5cd66538
commit
b7a1e04310
@ -7,7 +7,6 @@ package install
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/talos-systems/go-blockdevice/blockdevice"
|
||||
"github.com/talos-systems/go-procfs/procfs"
|
||||
@ -273,8 +272,6 @@ func (i *Installer) Install(seq runtime.Sequence) (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
i.cmdline.Append("initrd", filepath.Join("/", string(i.Next), constants.InitramfsAsset))
|
||||
|
||||
var conf *grub.Config
|
||||
if i.bootloader == nil {
|
||||
conf = grub.NewConfig(i.cmdline.String())
|
||||
|
Loading…
x
Reference in New Issue
Block a user