Skip to content

Commit

Permalink
fix: Workaround disable 'check default route during installation'
Browse files Browse the repository at this point in the history
Revert changes:
- harvester@71247f7
- harvester#725

Necessary to make installer for image creation functional again.

Requires a permanent fix, e.g. a config flag.
  • Loading branch information
wombelix committed Jul 31, 2024
1 parent d8eea24 commit 10b1416
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/console/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import (
)

func checkDefaultRoute() (bool, error) {
// Workaround for install mode 'image'
return true, nil

routes, err := netlink.RouteList(nil, syscall.AF_INET)
if err != nil {
logrus.Errorf("Failed to list routes: %s", err.Error())
Expand Down

0 comments on commit 10b1416

Please sign in to comment.