Ovf Conversion

I try do use one of the images available from [1]
These images comes in two flavors, one vmx, one ovf.

I do not know how to convert one of these to CentOS6-libvirt-kvm

virt-convert gives me an error

$ virt-convert -i ovf -o virt-image path_to_image.ovf ERROR Couldn’t convert disks: Disk conversion failed with exit status
1: qemu-img: Could not open ‘path_to_image.vmdk’

The vmdk does exist. It seems that qemu-img can not handle this vmdk format. I am also not sure if v2v could do it.

I think the essence of my post is the question Is it possible to use vmx or ovf images with kvm, possibly after converting them?

[1] http://info.puppetlabs.com/download-learning-puppet-VM.html

  1. #1 by Markus Falb on April 19th, 2013 - 4:00 pm

    The question was *how* to convert. Anyways, I tried the virt-convert/qemu-img from Fedora 18 and it worked.

  2. #2 by Zoltan Frombach on March 29th, 2013 - 10:18 am

    Try to use qemu-img directly, like this:

    qemu-img convert -f vmdk -O raw Your-Original-Disk-Image.vmdk Raw-Disk-Image.img


(will not be published)
Subscribe to comments feed