[Libguestfs] [PATCH 1/2] v2v: ova: fix checking of the manifest file

Tomáš Golembiovský tgolembi at redhat.com
Fri Sep 30 10:55:05 UTC 2016


On Thu, 29 Sep 2016 15:53:18 +0200
Pino Toscano <ptoscano at redhat.com> wrote:

> On Thursday, 29 September 2016 14:59:14 CEST Tomáš Golembiovský wrote:
> > The regular expression for parsing the manifest line was wrong. There is
> > a mandatory space between '=' and the hash.
> > 
> > Another problem was that only the first line of the manifest file was
> > actually processed.  
> 
> Can you please provide an example of manifest file with more than one
> line? A real-life example, I mean.
> 

Sure, this is from OVA created by VMware:

$ cat 2003-32b.mf
SHA1(2003-32b.ovf)= 7c8e2cfebb540c4fa86df8413604408359b35cd9
SHA1(2003-32b-disk1.vmdk)= fef670f077ba7df83d35d8849f666d399f355bb5


If there are multiple disks in the VM there will be one line for each
disk.

    Tomas

-- 
Tomáš Golembiovský <tgolembi at redhat.com>




More information about the Libguestfs mailing list