Project

General

Profile

« Previous | Next » 

Revision 52dbb104

Added by Stephen Benjamin over 9 years ago

fixes #9369 - tftp should send host, not self to get the boot files uri

View differences:

app/models/concerns/orchestration/tftp.rb
def setTFTPBootFiles
logger.info "Fetching required TFTP boot files for #{host.name}"
valid = true
host.operatingsystem.pxe_files(host.medium, host.architecture, self).each do |bootfile_info|
host.operatingsystem.pxe_files(host.medium, host.architecture, host).each do |bootfile_info|
for prefix, path in bootfile_info do
valid = false unless tftp.fetch_boot_file(:prefix => prefix.to_s, :path => path)
end

Also available in: Unified diff