This adds support for resuming downloads in virt-builder.

Partially downloaded image is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.

Fixes RHBZ#1198344

Ammended for forgotten unlink_on_exit and fixed call with optional
aguments.

Maros Zatko (1):
  builder: support for download resume

 builder/downloader.ml | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

-- 
1.9.3

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to