Project

General

Profile

« Previous | Next » 

Revision ac5b79c7

Added by Joshua Hoblitt almost 10 years ago

allow pxe section in dhcpd.conf.erb to be disabled

View differences:

templates/dhcpd.conf.erb
option fqdn.rcode2 255;
option pxegrub code 150 = text ;
<% if has_variable?( 'pxeserver' ) and has_variable?( 'pxefilename' ) then -%>
<% if has_variable?( 'pxeserver' ) &&
has_variable?( 'pxefilename' ) &&
@pxeserver &&
@pxefilename -%>
# PXE Handoff.
next-server <%= @pxeserver %>;
filename "<%= @pxefilename %>";

Also available in: Unified diff