From 4a0963b3366d7cd626e283841d1a7745808b477f Mon Sep 17 00:00:00 2001 From: Michael Symonds Date: Mon, 30 Sep 2024 08:35:18 -0700 Subject: [PATCH] Hotfix: BIOS installed images specify mac address for interface, not auto --- internal/app/igor-server/tftp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/igor-server/tftp.go b/internal/app/igor-server/tftp.go index 3ca082a..e45fe6a 100644 --- a/internal/app/igor-server/tftp.go +++ b/internal/app/igor-server/tftp.go @@ -65,7 +65,7 @@ func generateBootFile(host *Host, r *Reservation) error { appendStmt = "IPAPPEND 2\n" + appendStmt autoInstallPart = fmt.Sprintf(" lang= kssendmac text ksdevice=bootif ks=%s ", autoInstallFilePath) case "ubuntu", "debian", "freebsd", "generic", "nexenta", "suse", "unix", "vmware", "windows", "xen": - autoInstallPart = fmt.Sprintf(" lang= netcfg/choose_interface=auto text auto-install/enable=true priority=critical hostname=%s url=%s domain=local.lan", host.Name, autoInstallFilePath) + autoInstallPart = fmt.Sprintf(" lang= netcfg/choose_interface=%s text auto-install/enable=true priority=critical hostname=%s url=%s domain=local.lan", host.Mac, host.Name, autoInstallFilePath) default: return fmt.Errorf("unknown OS type: %s", osType) }