0.1.8-DEV-20200215-125347
------------------------- * ADD: - added vlan66 support * MODIFY: - modified templates/dhcpd_conf.j2 to utilize static assignments only if defined
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
# The Zen Garden Network #
|
||||
# #
|
||||
# Configuration : {{ dhcp_conf_file }} #
|
||||
# Version : {{ dhcp_conf_version }}-{{ dhcp_conf_revision }} #
|
||||
# Version : {{ dhcp_conf_version }}-{{ dhcp_conf_revision }} #
|
||||
# #
|
||||
# Chris H. <chris@thezengarden.net> #
|
||||
#####################################################
|
||||
@ -30,7 +30,7 @@ subnet {{ dhcp_networks[dhcp_vlan].subnet }} netmask {{ dhcp_networks[dhcp_vlan]
|
||||
filename "{{ dhcp_pxeboot_file }}";
|
||||
next-server {{ dhcp_networks[dhcp_vlan].pxeboot }};
|
||||
|
||||
|
||||
{% if static_assignments is defined %}
|
||||
### STATIC ASSIGNMENTS ###
|
||||
{% for host in static_assignments %}
|
||||
host {{ host }}
|
||||
@ -39,5 +39,5 @@ subnet {{ dhcp_networks[dhcp_vlan].subnet }} netmask {{ dhcp_networks[dhcp_vlan]
|
||||
fixed-address {{ static_assignments[host]['ip_address'] }};
|
||||
}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
}
|
||||
|
Reference in New Issue
Block a user