Closed lparkes closed 9 months ago
Stephen is currently using the name "azureendpoint" in the output from his version of dhcpcd, so let's use that name.
Preliminary fix in commit e9e5eb5.
The option and encoding we look for might change in the future because option 245 is a site specific option and the dhcpcd maintainers might choose to implement it as site_specific_245
with binhex encoding rather than the azureendpoint
with dotted decimal encoding that we have used so far. We'll cross that bridge when we come to it.
The NetBSD dhcpcd program can print the DHCP lease in an easy to parse text format, but it doesn't print option 245 because it doesn't know about that option.
We should get Roy Marples to add support for option 245 to dhcpcd (send him the patch).
This is much better than the other Azure Agent alternative, but we won't be able to get this change into NetBSD 10.0.