Revision 5f7fd34c
Added by Lukas Zapletal over 8 years ago
modules/tftp/server.rb | ||
---|---|---|
# as the dst might contain another sub directory
|
||
FileUtils.mkdir_p destination.parent
|
||
|
||
::Proxy::HttpDownloads.start_download(src.to_s, destination.to_s)
|
||
::Proxy::HttpDownload.new(src.to_s, destination.to_s).start
|
||
end
|
||
|
||
def self.boot_filename(dst, src)
|
Also available in: Unified diff
Fixes #11318 - HttpDownloads.start_download returns instance
instead of `true`. Allows to join processes, useful for discovery image
plugin.