[Libguestfs] [PATCH] Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::Lib

Richard W.M. Jones rjones at redhat.com
Fri Jul 17 08:33:02 UTC 2009


On Fri, Jul 17, 2009 at 12:08:05AM +0100, Matthew Booth wrote:
> Change distro in the output formally known as virt-inspector to reflect the
> actual distro. Possible values are now: fedora, rhel, centos, scientific,
> debian.
> 
> Add new distrofamily entry which is one of: redhat, debian. Currently all
> distros except 'debian' are in the redhat family.
> 
> This allows you to, for example, select a RHEL/CentOS/Scientific Linux specific
> kernel for installation rather than assuming they're all the same.
> 
> Note this also changes the behaviour of virt-inspector --query. It will now only
> return rhel=yes for RHEL.

+1.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html




More information about the Libguestfs mailing list