<html><head></head><body><div class="gmail_quote">Am 22. Oktober 2016 00:03:30 MESZ, schrieb Emmanuel Kasper <emmanuel@libera.cc>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Le 21/10/2016 à 16:08, Richard W.M. Jones a écrit :<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Thu, Oct 20, 2016 at 10:43:26PM +0200, Emmanuel Kasper wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Hi<br /> I've been looking for a standalone tool to create OVA/OVF VM files based<br /> on a disk image and found none. So I was thinking to write my own.<br /> Would you be interested in having such a tool in the libguestfs umbrella ?<br /></blockquote> <br /> There is this:<br /> <br />   <a href="http://git.annexia.org/?p=import-to-ovirt.git">http://git.annexia.org/?p=import-to-ovirt.git</a><br /> <br /> which can generate OVF, and with not very much extra work could<br /> generate OVAs.<br /> <br /> The problem is that OVF is not a reliable standard.  Sure, there is a<br /> standards organiz!
 ation
behind it, but there is in practice no interop.<br /> You have to know the target hypervisor in order to be able to create<br /> OVF which will work, and the OVF is quite different for each target.<br /></blockquote><br /><br />Thanks for the hint for import-to-ovirt, the code is easy to read and<br />follow, and is close to what I want to achieve.<br /><br />A good part of the script is ovirt specific but I am going to reuse the<br />part where you generate the OVF file.<br /><br />I'll send you a link when I have something to show.<br /><br /><hr /><br />Libguestfs mailing list<br />Libguestfs@redhat.com<br /><a href="https://www.redhat.com/mailman/listinfo/libguestfs">https://www.redhat.com/mailman/listinfo/libguestfs</a><br /></pre></blockquote></div><br clear="all">So I adapted on my spare time import-to-ovirt and I have now my  import2vbox.<br>
I had to adapt the generated ovf and disable the rh(e)v specific stuff but nothing extraordinary complicated.<br>
Code is here:<br>
<br>
<a href="https://github.com/EmmanuelKasper/import2vbox">https://github.com/EmmanuelKasper/import2vbox</a><br>
<br>
Thanks for the initial pointer to import-to-ovirt<br>
<br>
Emmanuel<br>
<br>
<br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>