system_imaging.diskimage_from_cloudimage#

Create disk image using a cloud image#

This will produce disk images for all the system images described in config section:

  • system_imaging.images

You can reduce this by providing a case-insensitive fnmatch pattern as input to the script via workflow, such as these:

# This will build all images
with:
  pattern: "*"

# This will build all those starting with "debian"
with:
  pattern: "debian*"

BSD images and nuage-init#

This script only supports system_images with cloud-init installed. Per default the “BASIC-CLOUDINIT” FreeBSD images are released with nuage-init instead of cloud-init. In our example configuration files, we have examples of FreeBSD images with cloud-init pre-installed.

Use cijoe –example system_imaging.x86_64 to see the example configuration.

Retargetable: False#

This script only runs on the iniator; due to the use of ‘download’ etc.

cijoe.system_imaging.scripts.diskimage_from_cloudimage.diskimage_from_cloudimage(cijoe, image: dict)#

Build a diskimage, using qemu and cloudimage, and copy it to the diskimage location

cijoe.system_imaging.scripts.diskimage_from_cloudimage.main(args, cijoe)#

Provision a qemu-guest using a cloud-init image

CLI arguments#

options:

  • -h, --help

    show this help message and exit

  • --pattern PATTERN

    Pattern for image names to build