Project

General

Profile

« Previous | Next » 

Revision 8636fb9b

Added by Omar Wit almost 9 years ago

Add arbitrary options via array to dhcpd.conf

Closes GH-49

View differences:

templates/dhcpd.conf.erb
option ms-classless-static-routes code 249 = array of integer 8;
<% end -%>
<% if @options.is_a? Array -%>
<% @options.each do |option| -%>
option <%= option %>;
<% end -%>
<% elsif @options && !@options.strip.empty? -%>
option <%= @options %>;
<% end -%>
<% if has_variable?( 'pxeserver' ) &&
has_variable?( 'pxefilename' ) &&
@pxeserver &&

Also available in: Unified diff