copy virtualization image <image> to <new-path>
Copies an image to a new path relative to the /var/lib/libvirt/images folder.
- image
- An image file relative to /var/lib/libvirt/images.
- new-path
- An image file location relative to /var/lib/libvirt/images.
Operational mode.
Use this command to copy an image to a new path. All the image paths are relative to the /var/lib/libvirt/images folder.
Any existing image at the new path is overwritten.
The following example shows how to copy an image to a new path.
vyatta@vyatta:~$ show virtualization images
an-image.qcow2
vyatta@vyatta:~$ copy virtualization image an-image.qcow2 to an-image-copy.qcow2
vyatta@vyatta:~$ show virtualization images
an-image-copy.qcow2
an-image.qcow2