On Tue, May 19, 2015 at 04:38:21AM -0400, Fabian Deutsch wrote:
> > A second option would be the index.asc as used by virt-builder:
> > <https://fedorahosted.org/rel-eng/ticket/5805>
> 
> Some pros/cons I see here:
> + I tincludes both, compressed + uncompressed, disk sizes
> + Tells the format of the image
> + I personally like the structure much more
> 
> +/- It includes some non-image stuff (i.e. expand=)

'expand' is really the root filesystem.  It's essential if you want to
automatically resize the filesystem *offline* (ie. without using
things like cloud-init).  However you can omit it from the format and
virt-builder just won't resize the root fs.

> - The type of the checksum is not specified in the conf file

Actually it is:

  http://libguestfs.org/virt-builder.1.html#creating-and-signing-the-index-file

It just defaults to sha512 unless specified otherwise.

> - I'm missing a stream like scheme; a gloabl identifier to be able to sort 
> images according to a version/build-date

You can add extra fields, they will be ignored by virt-builder.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to