Revision c7aa35f0
Added by Timo Goebel over 7 years ago
modules/dhcp_isc/dhcp_isc_main.rb | ||
---|---|---|
options = record.options
|
||
# TODO: Extract this block into a generic dhcp options helper
|
||
statements = []
|
||
statements << "filename = \\\"#{options[:filename]}\\\";" if options[:filename]
|
||
statements << bootServer(options[:nextServer]) if options[:nextServer]
|
||
statements << "option host-name = \\\"#{record.name}\\\";" if record.name
|
||
statements << "filename = \\\"#{options[:filename]}\\\";" if options[:filename]
|
||
statements << bootServer(options[:nextServer]) if options[:nextServer]
|
||
statements << "option host-name = \\\"#{options[:hostname] || record.name}\\\";"
|
||
|
||
statements += solaris_options_statements(options)
|
||
statements += ztp_options_statements(options)
|
Also available in: Unified diff
fixes #17856 - support multiple dhcp records for same ip