| VIRT-CONVERT(1) | Virtual Machine Manager | VIRT-CONVERT(1) |
virt-convert - convert ovf/vmx to native libvirt guests
virt-convert INPUT.vmx|INPUT.ovf|INPUT-DIR|INPUT.zip [OPTIONS]
virt-convert is a command line tool for converting VMX or OVF virtual machines to native libvirt XML. Disk format conversion can also be done at the same time.
The simplest invocation is simply: virt-convert INPUT. INPUT might be a .vmx or .ovf file, a directory containing a .vmx or .ovf file (and likely 1 or more disk images), or an appliance archive like .zip, .tar.gz, or .ova. virt-convert will try to do the right thing in each case.
By default, the virt-convert will convert all encountered disk images to 'raw' format, sending the output to a new directory location. So the original disk images are _not_ altered in place.
Run a fedora18 OVA archive:
# virt-convert fedora18.ova
Run an extracted zip archive containing a centos6 .vmx and .vmdk file, converting the images to qcow2 format
# virt-convert centos6/ --disk-format qcow2
Convert the specified .vmx file. Any references disk images must be in the same directory. Don't change the disk format. Move the disk images to /tmp
# virt-convert foo.vmx --disk-format none --destination /tmp
Please see https://virt-manager.org/page/BugReporting
Copyright (C) Red Hat, Inc, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "https://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law.
virt-install(1), the project website "https://virt-manager.org"
| 2019-01-19 | 2.0.0 |