Project

General

Profile

Actions

Bug #11318

closed

HttpDownloads.start_download should have returned CommandTask object

Added by Lukas Zapletal over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

To allow joining processes:

      if ::Proxy::HttpDownloads.start_download(data['kernel'], '/tmp/vmlinuz').join != 0
        logger.warn "unable to download kernel - aborting" 
      end
      if ::Proxy::HttpDownloads.start_download(data['initram'], '/tmp/initrd.img').join != 0
        logger.warn "unable to download init RAM disk - aborting" 
      end


Related issues 1 (0 open1 closed)

Related to Discovery - Refactor #12100: Improve image/kernel downloading codeClosedLukas Zapletal10/08/2015Actions
Actions

Also available in: Atom PDF