0.1.4-DEV-20200214-14428

------------------------
    * ADD:
      - added support for deployment to specific vlan via -e command line switch; defaults to vlan1
This commit is contained in:
2020-02-14 01:46:36 -05:00
parent a587e062d1
commit 6009270a7e
2 changed files with 33 additions and 20 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> #
#####################################################
@ -19,14 +19,14 @@ max-lease-time {{ dhcp_max_lease }};
authoritative;
{% endif %}
subnet {{ dhcp_subnet }} netmask {{ dhcp_netmask }}
subnet {{ dhcp_networks[dhcp_deploy_to].subnet }} netmask {{ dhcp_networks[dhcp_deploy_to].netmask }}
{
range {{ dhcp_range_from }} {{ dhcp_range_to }};
option routers {{ dhcp_router }};
option broadcast-address {{ dhcp_broadcast }};
range {{ dhcp_networks[dhcp_deploy_to].range_from }} {{ dhcp_networks[dhcp_deploy_to].range_to }};
option routers {{ dhcp_networks[dhcp_deploy_to].router }};
option broadcast-address {{ dhcp_networks[dhcp_deploy_to].broadcast }};
option domain-name "{{ dhcp_domain_name }}";
option domain-name-servers {{ dhcp_dns }};
option domain-name-servers {{ dhcp_networks[dhcp_deploy_to].dns }};
filename "{{ pxeboot_file }}";
next-server {{ pxeboot_server }};
filename "{{ dhcp_pxeboot_file }}";
next-server {{ dhcp_networks[dhcp_deploy_to].pxeboot }};
}