Re: OS type detection in virt-install/virt-manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 13, 2008 at 04:43:45PM +0100, Alexander Todorov wrote:
> -----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.

It does look very promising - its definitely something we should try to
make use of in virt-install as it ought to make us more robust wrt to
future changes. If anyone's interested in supplying patches to make use of
the .treeinfo files, please send them to the list, otherwise we'll consider 
this a TODO item for our development roadmap.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux