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
On 29.3.2013 15:17, Van wrote:
29.03.2013, 16:08, "Markus Falb" markus.falb@fasel.at:
...
$ 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'
- convert VirtualBox img-file to raw
The question was *how* to convert. Anyways, I tried the virt-convert/qemu-img from Fedora 18 and it worked.
Try to use qemu-img directly, like this:
qemu-img convert -f vmdk -O raw Your-Original-Disk-Image.vmdk Raw-Disk-Image.img
Zoltan
On 3/29/2013 1:08 PM, Markus Falb wrote:
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