For example if I have a file my-cloud-image.qcow2 (in the same directory as my playbook) that I want to create a new VM and boot from and I have two storage pools configured: "vms" (/var/lib/libvirt/vms) and "images" (/var/lib/libvirt/images)
With this patch, my-cloud-image.qcow2 would be copied to /var/lib/libvirt/images and /var/lib/libvirt/vms/test.example.com-root-disk would be created from it as the boot disk.
For example if I have a file
my-cloud-image.qcow2
(in the same directory as my playbook) that I want to create a new VM and boot from and I have two storage pools configured:"vms"
(/var/lib/libvirt/vms
) and"images"
(/var/lib/libvirt/images
)With this patch,
my-cloud-image.qcow2
would be copied to/var/lib/libvirt/images
and/var/lib/libvirt/vms/test.example.com-root-disk
would be created from it as the boot disk.