···991010// Adapted from Pixiecore's DHCP logic (Apache License 2.0)
1111// https://github.com/danderson/netboot/blob/main/pixiecore/dhcp.go#L247-L278
1212+// We need this because the nixie-agent also needs to know the API server address to send its API requests
1213func DetectServerAddress() (string, error) {
1314 addresses, err := net.InterfaceAddrs()
1415 if err != nil {