0.1.0-DEV-20200212-80132
------------------------ * INITIAL: - initial repo commit
This commit is contained in:
32
templates/dhcpd_conf.j2
Normal file
32
templates/dhcpd_conf.j2
Normal file
@ -0,0 +1,32 @@
|
||||
#####################################################
|
||||
# The Zen Garden Network #
|
||||
# #
|
||||
# Configuration : {{ dhcp_conf_file }} #
|
||||
# Version : {{ dhcp_conf_version }}-{{ dhcp_conf_revision }} #
|
||||
# #
|
||||
# Chris H. <chris@thezengarden.net> #
|
||||
#####################################################
|
||||
|
||||
|
||||
ddns-update-style {{ dhcp_ddns_style }};
|
||||
|
||||
option domain-name "{{ dhcp_domain_name }}";
|
||||
|
||||
default-lease-time {{ dhcp_default_lease }};
|
||||
max-lease-time {{ dhcp_max_lease }};
|
||||
|
||||
{% if dhcp_authoritive == 'True' %}
|
||||
authoritative;
|
||||
{% endif %}
|
||||
|
||||
subnet {{ dhcp_subnet }} netmask {{ dhcp_netmask }}
|
||||
{
|
||||
range {{ dhcp_range_from }} {{ dhcp_range_to }};
|
||||
option routers {{ dhcp_router }};
|
||||
option broadcast-address {{ dhcp_broadcast }};
|
||||
option domain-name "{{ dhcp_domain_name }}";
|
||||
option domain-name-servers {{ dhcp_dns }};
|
||||
|
||||
filename "{{ pxeboot_file }}";
|
||||
next-server {{ pxeboot_server }};
|
||||
}
|
Reference in New Issue
Block a user