0.1.10-DEV-20200322-002515

--------------------------
    * ADD:
      - added vlan50 support
      - added dummy vlan99 for a default to deploy

    * MODIFY:
      - modified dhcp_max_lease to be 7 days
      - modified templates/dhcpd_conf.j2 to include logic if pxeboot server is defined or not
This commit is contained in:
2020-03-22 00:29:59 -04:00
parent b23b0c58b9
commit ad747c764d
2 changed files with 29 additions and 4 deletions

View File

@ -27,8 +27,10 @@ subnet {{ dhcp_networks[dhcp_vlan].subnet }} netmask {{ dhcp_networks[dhcp_vlan]
option domain-name "{{ dhcp_domain_name }}";
option domain-name-servers {{ dhcp_networks[dhcp_vlan].dns }};
filename "{{ dhcp_pxeboot_file }}";
{% if dhcp_networks[dhcp_vlan].pxeboot is defined %}
filename "{{ dhcp_pxeboot_file }}";
next-server {{ dhcp_networks[dhcp_vlan].pxeboot }};
{% endif %}
{% if static_assignments is defined %}
### STATIC ASSIGNMENTS ###