Skip to content

Commit

Permalink
fix: Installation stopped by "No default route found"
Browse files Browse the repository at this point in the history
No need to check the default route if install binaries only.

Related issue: harvester/harvester#6306

Signed-off-by: Chris Chiu <chris.chiu@suse.com>
(cherry picked from commit 5b05ca3)
  • Loading branch information
mingshuoqiu authored and bk201 committed Aug 15, 2024
1 parent 9d670c9 commit 3a6969f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/console/install_panels.go
Original file line number Diff line number Diff line change
Expand Up @@ -2120,7 +2120,7 @@ func addInstallPanel(c *Console) error {
printToPanel(c.Gui, "Failed to check default route.", installPanel)
return
}
if !isDefaultRouteExist {
if !installModeOnly && !isDefaultRouteExist {
logrus.Error(ErrMsgNoDefaultRoute)
printToPanel(c.Gui, ErrMsgNoDefaultRoute, installPanel)
return
Expand Down

0 comments on commit 3a6969f

Please sign in to comment.