From 8593ff8daf3d6729bf170a23fd10198f262b0d7d Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Wed, 24 Jan 2024 15:52:20 +0800 Subject: [PATCH] fix: merge kernel parameters into global config Signed-off-by: Kiefer Chang --- pkg/console/install_panels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/console/install_panels.go b/pkg/console/install_panels.go index eb70c7545..2b3302398 100644 --- a/pkg/console/install_panels.go +++ b/pkg/console/install_panels.go @@ -85,9 +85,9 @@ func (c *Console) layoutInstall(g *gocui.Gui) error { } if cfg, err := config.ReadConfig(); err == nil { + c.config.Merge(cfg) if cfg.Install.Automatic && isFirstConsoleTTY() { logrus.Info("Start automatic installation...") - c.config.Merge(cfg) // setup InstallMode to ensure that during automatic install // we are only copying binaries and ignoring network / rancherd setup // needed for generating pre-installed qcow2 image