This commit is contained in:
Chris Hammer 2024-11-21 21:45:17 -05:00
parent d0e7a1d453
commit bbd370595b
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
dhcp_conf_file : /etc/dhcp/dhcpd.conf
dhcp_conf_version : 1.0
dhcp_conf_revision : 20200322-002515
dhcp_conf_version : 1.1
dhcp_conf_revision : 241121-2139
dhcp_ddns_style : none

View File

@ -39,6 +39,9 @@ filename "{{ dhcp_pxeboot_file }}";
{
hardware ethernet {{ static_assignments[host]['mac_address'] }};
fixed-address {{ static_assignments[host]['ip_address'] }};
{% if static_assignments[host]['dns_server'] is defined %}
option domain-name-servers {{ static_assignments[host]['dns_server'] }};
{% endif %}
}
{% endfor %}
{% endif %}