internal/distro/rhel{86,90}: drop console kargs from raw image deployment
Using the simplified installer we were experiencing slow system boots. Turns out we're incurring into https://bugzilla.redhat.com/show_bug.cgi?id=1839923 This patch just drops the console kargs - to be aligned with the anaconda installer that doesn't experience this slow down. The slow down doesn't happen on virtual machines as there's always a ttyS0 there Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
19e2fb7fb5
commit
5f2ad326a6
2 changed files with 2 additions and 10 deletions
|
|
@ -853,11 +853,7 @@ func ostreeDeployPipeline(
|
|||
))
|
||||
p.AddStage(osbuild.NewOSTreeConfigStage(ostreeConfigStageOptions(repoPath, true)))
|
||||
p.AddStage(osbuild.NewMkdirStage(efiMkdirStageOptions()))
|
||||
kernelOpts := []string{
|
||||
"console=tty0",
|
||||
"console=ttyS0",
|
||||
}
|
||||
kernelOpts = append(kernelOpts, osbuild.GenImageKernelOptions(pt)...)
|
||||
kernelOpts := osbuild.GenImageKernelOptions(pt)
|
||||
p.AddStage(osbuild.NewOSTreeDeployStage(
|
||||
&osbuild.OSTreeDeployStageOptions{
|
||||
OsName: osname,
|
||||
|
|
|
|||
|
|
@ -848,11 +848,7 @@ func ostreeDeployPipeline(
|
|||
))
|
||||
p.AddStage(osbuild.NewOSTreeConfigStage(ostreeConfigStageOptions(repoPath, true)))
|
||||
p.AddStage(osbuild.NewMkdirStage(efiMkdirStageOptions()))
|
||||
kernelOpts := []string{
|
||||
"console=tty0",
|
||||
"console=ttyS0",
|
||||
}
|
||||
kernelOpts = append(kernelOpts, osbuild.GenImageKernelOptions(pt)...)
|
||||
kernelOpts := osbuild.GenImageKernelOptions(pt)
|
||||
p.AddStage(osbuild.NewOSTreeDeployStage(
|
||||
&osbuild.OSTreeDeployStageOptions{
|
||||
OsName: osname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue