Skip to content

Commit

Permalink
Hotfix: BIOS installed images specify mac address for interface, not …
Browse files Browse the repository at this point in the history
…auto
  • Loading branch information
msymonds authored and afbagwell committed Sep 30, 2024
1 parent 258dc34 commit 4a0963b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/igor-server/tftp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4a0963b

Please sign in to comment.