# dhcpd.conf

ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;

option domain-name "<%= domain %>";
option domain-name-servers <%= nameservers.join( ', ') %>;
option ntp-servers <%= ntpservers.join( ', ') %>;
#authoritative;

#allow booting;
#allow bootp;

option fqdn.no-client-update    on;  # set the "O" and "S" flag bits
option fqdn.rcode2            255;
option pxegrub code 150 = text ;

#option option-211 code 211=string;
#option nv-211 code 211=string;
#option option-211 74:66:74:70;

<%= if has_variable? 'pxeserver' and has_variable? filename -%>
# PXE Handoff.
next-server <%= pxeserver %>;
filename "<%= filename %>";
<% end -%>

log-facility <%= logfacility %>;

include "<%= dhcp_dir %>/dhcpd.pools";
include "<%= dhcp_dir %>/dhcpd.hosts";


# dhcpd.conf

ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;

option domain-name "<%= domain %>";
option domain-name-servers <%= nameservers.join( ', ') %>;
option ntp-servers <%= ntpservers.join( ', ') %>;
#authoritative;

#allow booting;
#allow bootp;

option fqdn.no-client-update    on;  # set the "O" and "S" flag bits
option fqdn.rcode2            255;
option pxegrub code 150 = text ;

#option option-211 code 211=string;
#option nv-211 code 211=string;
#option option-211 74:66:74:70;

<%= if has_variable?( 'pxeserver' ) and has_variable?( 'filename' ) then -%>
# PXE Handoff.
next-server <%= pxeserver %>;
filename "<%= filename %>";
<% end -%>

log-facility <%= logfacility %>;

include "<%= dhcp_dir %>/dhcpd.pools";
include "<%= dhcp_dir %>/dhcpd.hosts";


Fix templating for PXE (again)
Fix templating for PXE (again)
