[Libguestfs] virt-v2v : Import from vsphere 4

Richard W.M. Jones rjones at redhat.com
Wed Oct 14 16:10:38 UTC 2015


On Wed, Oct 14, 2015 at 04:39:31PM +0200, Kevin COUSIN wrote:
> Hi list,
>
> Is it possible to import VM from vSphere 4 with virt-v2v ? I use the
> p2v ISO but I want to automate process.

I don't think anyone has tested it as we only bother with vSphere >= 5,
but it should work, assuming the guest is supported.  You shouldn't
need to use virt-p2v, plain virt-v2v should work.

I suggest exporting the guest as an OVA first.  You can do this
manually (File -> Export an OVF Template), but for automating the
process it's probably better to use with VMware's proprietary ovftool:

  http://libguestfs.org/virt-v2v.1.html#create-ova-with-ovftool

The whole process is described here:

  http://libguestfs.org/virt-v2v.1.html#input-from-vmware-ova

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list