NAME

Kanku::Handler::ImageDownload

SYNOPSIS

Here is an example how to configure the module in your jobs file or KankuFile

  -
    use_module: Kanku::Handler::ImageDownload
    options:
      url: http://example.com/path/to/image.qcow2
      output_file: /tmp/mydomain.qcow2

DESCRIPTION

This handler downloads a file from a given url to the local filesystem and sets vm_image_file.

OPTIONS

  url             : url to download file from

  vm_image_file   : absolute path to file where image will be store in local filesystem

  offline         : proceed in offline mode (skip download and lookup last
                    downloaded image in database)

CONTEXT

getters

  vm_image_url

  domain_name

setters

  vm_image_file

DEFAULTS

NONE