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

Daniel P. Berrange berrange at redhat.com
Fri Jul 17 10:21:07 UTC 2009


On Thu, Jul 16, 2009 at 11:54:55PM +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.

IMHO doing this is a big mistake. This is what we did for virt-install
and hugely regret it. Things just don't fall into a nice hierarchy. We
are now looking at doing a flat list of distros + tagging/categorization
relationships to be defined.

 http://www.redhat.com/archives/et-mgmt-tools/2009-June/msg00018.html

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the Libguestfs mailing list