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

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 %}