[et-mgmt-tools] OS type detection in virt-install/virt-manager

Alexander Todorov atodorov at redhat.com
Wed Feb 13 15:43:45 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Daniel P. Berrange wrote:
> On Wed, Feb 13, 2008 at 09:38:11AM +0100, Alexander Todorov wrote:
>> Hello,
>> I was looking at the recent code in OSDistro.py
>> Can we switch to using the new .treeinfo file and the information there 
>> instead of the current if hasFile() mechanism?
>> The .treeinfo provides with all the information needed to detect the 
>> family type (Fedora, RHEL, CentOS ???) and boot images location.
>> Also improve the acquire$FILE functions with that information.
> 
> What new .treeinfo file ?  It sounds interesting, but this is the first
> I've heard of it... Is there anywhere that describes it ?
> 

I'm afraid there's not. I've filed a BZ to request documentation.
https://bugzilla.redhat.com/show_bug.cgi?id=432641


You probably didn't see the files because they start with a dot "." and are
hidden files. Try looking closer under the os/ directory for already released
versions. I've tried with Fedora 8 from my local mirror at
http://fedora.mirrors.megalan.bg/linux/releases/8/Fedora/x86_64/os/

The files are supposed to provide a generic way to get some info for the tree
incl. kernel and initrd locations. I was told that this is still work in progress.

Greetings,
Alexander.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFHsxAvhmd3WOiFct4RCoxKAJ0fVAWrvJpT50Ua38hJt1h7c4Nr6wCfTZT9
3boMkiqOCik8FrS0CHJd8L8=
=ahyt
-----END PGP SIGNATURE-----




More information about the et-mgmt-tools mailing list