Revision 792573df
Added by Paul Kelly almost 13 years ago
- ID 792573df77602af586dbf34c1b66c5e767ef7e42
app/models/orchestration/dhcp.rb | ||
---|---|---|
dhcp_attr.merge!(:nextserver => next_server) if next_server
|
||
|
||
if jumpstart?
|
||
jumpstart_arguments = os.jumpstart_params self
|
||
raise "Host's operating system has an unknown vendor class" unless (vendor = model.vendor_class and !vendor.empty?)
|
||
|
||
jumpstart_arguments = os.jumpstart_params self, vendor
|
||
dhcp_attr.merge! jumpstart_arguments unless jumpstart_arguments.empty?
|
||
end
|
||
|
Also available in: Unified diff
Fixes #1095 - Vendor_class error reporting is incorrect
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>