From 6acbaa79047e480d08d81fbc1f072320b8e0425d Mon Sep 17 00:00:00 2001 From: Taylor Shrauner-Biggs Date: Fri, 1 Nov 2024 21:48:56 -0500 Subject: [PATCH] Add check to make sure DHCP route error only shows for DHCP setups --- 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 9f86fb91b..a7263fa60 100644 --- a/pkg/console/install_panels.go +++ b/pkg/console/install_panels.go @@ -2154,7 +2154,7 @@ func addInstallPanel(c *Console) error { printToPanel(c.Gui, "Failed to check default route.", installPanel) return } - if !installModeOnly && !isDefaultRouteExist { + if !installModeOnly && !isDefaultRouteExist && c.config.Install.ManagementInterface.Method == config.NetworkMethodDHCP { logrus.Error(ErrMsgNoDefaultRoute) printToPanel(c.Gui, ErrMsgNoDefaultRoute, installPanel) return