Re: [Libguestfs] [PATCH v3 2/3] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour

2018-04-09 Thread Pino Toscano
On Friday, 6 April 2018 17:45:22 CEST Tomáš Golembiovský wrote: > On Thu, 5 Apr 2018 14:53:51 +0200 > Pino Toscano wrote: > > > @@ -383,8 +581,9 @@ let rec create_ovf source targets guestcaps inspect > > ] in > > (match ovf_flavour with > > | OVirt -> > > - e

Re: [Libguestfs] [PATCH v3 2/3] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour

2018-04-06 Thread Tomáš Golembiovský
On Thu, 5 Apr 2018 14:53:51 +0200 Pino Toscano wrote: > @@ -383,8 +581,9 @@ let rec create_ovf source targets guestcaps inspect > ] in > (match ovf_flavour with > | OVirt -> > - e "OperatingSystemSection" ["ovf:id", vm_uuid; > -

[Libguestfs] [PATCH v3 2/3] v2v: OVF: write ovirt:id attribute for the OS in OVirt flavour

2018-04-05 Thread Pino Toscano
When writing the OVF in OVirt flavour, add a ovirt:id attribute to the OperatingSystemSection tag: this attribute represents the numeric value of the ostype ID, which is ignored by oVirt when parsing OVFs in API mode. --- v2v/create_ovf.ml | 203