Revision ede6c26b
Added by Ohad Levy over 12 years ago
- ID ede6c26bd2162fb1aa82faf857daac348335cdae
app/models/orchestration/tftp.rb | ||
---|---|---|
return unless tftp?
|
||
return unless operatingsystem
|
||
return if Rails.env == "test"
|
||
if configTemplate({:kind => operatingsystem.template_kind}).nil?
|
||
if configTemplate({:kind => operatingsystem.template_kind}).nil? and configTemplate({:kind => "gPXE"}).nil?
|
||
failure "No #{operatingsystem.template_kind} templates where found for this host, make sure you define at least one in your #{os} settings"
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #1294 - Build should not require TFTP if using gPXE