This adds a new dhcp server resource, as well as a dhcp host resource used to specify the static mapping between mac address and ip address. It also adds a simple, pure-golang example dhcp client which might make testing easier. The dhcp resource is not meant to be a full-featured dhcp server replacement, and it might still be useful to use the venerable dhcpd, however for integrated, pure-golang bootstrapping environments, this might prove to be very useful. It can be combined with the tftp resource to build PXE setups with mgmt. This resource can be extended further to support a dhcp:range directive, automatic edges, and more!
2 lines
12 B
Plaintext
2 lines
12 B
Plaintext
dhcp_client
|