diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ffba236..29459bb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Recommend installing ipmitool with Warewulf package. #970 - Add completion for profile list. #1695 - Add OPTIONS argument for `warewulfd.service`. #1707 +- Document `warewulf.conf:dhcp.template`. #1701 ### Changed diff --git a/userdocs/contents/configuration.rst b/userdocs/contents/configuration.rst index 8d3c2951..423cd856 100644 --- a/userdocs/contents/configuration.rst +++ b/userdocs/contents/configuration.rst @@ -70,6 +70,13 @@ configurations: network, failures will occur. This specifies the range of addresses you want DHCP to use. +* ``dhcp:template`` defines an optional DHCP template variable to control the + generation of the DHCP template. + + Specifying ``template: static`` populates ``dhcpd.conf`` with static leases + for each host, bypassing the DHCP range. Run ``wwctl configure dhcp`` to + update ``dhcpd.conf`` when nodes are added, removed, or changed. + The other configuration options are usually not touched, but they are explained as follows: