From 8ef99dd5ebf3dbfd8dfbdaf3e2b6b8db895d4944 Mon Sep 17 00:00:00 2001 From: Ivan Sim Date: Fri, 6 Dec 2024 13:36:55 -0800 Subject: [PATCH] Remove final hardware address check Signed-off-by: Ivan Sim --- pkg/console/install_panels.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pkg/console/install_panels.go b/pkg/console/install_panels.go index 7248a5c1b..9901a083e 100644 --- a/pkg/console/install_panels.go +++ b/pkg/console/install_panels.go @@ -2563,22 +2563,6 @@ func addVIPPanel(c *Console) error { vipTextV.SetContent("Forbid to modify the VIP obtained through DHCP") return nil } - - // if hardware address is overridden, update the install config with - // the new value. - hwAddr, err := hwAddrV.GetData() - if err != nil { - return err - } - if hwAddr != c.config.VipHwAddr { - logrus.Infof("Overriding VIP hardware address. Original: %q, New: %q", c.config.VipHwAddr, hwAddr) - if _, err := net.ParseMAC(hwAddr); err != nil { - msg := fmt.Sprintf("Invalid hardware address: %s", err) - vipTextV.SetContent(msg) - return nil - } - c.config.VipHwAddr = hwAddr - } return gotoNextPage(g, v) }