[Libguestfs] libguestfs and exporting to OVA/OVF

Emmanuel Kasper emmanuel at libera.cc
Fri Oct 21 22:03:30 UTC 2016


Le 21/10/2016 à 16:08, Richard W.M. Jones a écrit :
> On Thu, Oct 20, 2016 at 10:43:26PM +0200, Emmanuel Kasper wrote:
>> Hi
>> I've been looking for a standalone tool to create OVA/OVF VM files based
>> on a disk image and found none. So I was thinking to write my own.
>> Would you be interested in having such a tool in the libguestfs umbrella ?
> 
> There is this:
> 
>   http://git.annexia.org/?p=import-to-ovirt.git
> 
> which can generate OVF, and with not very much extra work could
> generate OVAs.
> 
> The problem is that OVF is not a reliable standard.  Sure, there is a
> standards organization behind it, but there is in practice no interop.
> You have to know the target hypervisor in order to be able to create
> OVF which will work, and the OVF is quite different for each target.


Thanks for the hint for import-to-ovirt, the code is easy to read and
follow, and is close to what I want to achieve.

A good part of the script is ovirt specific but I am going to reuse the
part where you generate the OVF file.

I'll send you a link when I have something to show.




More information about the Libguestfs mailing list