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:
2020-02-15 00:54:45 -05:00
parent e6dc9047d4
commit b23b0c58b9
2 changed files with 16 additions and 6 deletions

View File

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