virt.device.import_disk_image

Imports a specified disk image.

Utilized qemu-img with the auto-detect functionality to auto-convert any supported disk image format to RAW -> ZVOL

As of this implementation it supports:

  • QCOW2 - QED - RAW - VDI - VPC - VMDK

diskimg is a required parameter for the incoming disk image zvol is the required target for the imported disk image

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: virt_device_import_disk_image

virt_device_import_disk_image

Type: object
No Additional Properties

Diskimg

Type: string

Must be at least 1 characters long

Zvol

Type: string

Must be at least 1 characters long

Result

Type: boolean


Required roles: VIRT_INSTANCE_WRITE