OS type detection in virt-install/virt-manager

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

 



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.

In case this is not found then we may fall back to the current code.

The reason I'm requesting this: in newer Fedora repos the packages dir is simply called "Packages" but not "Fedora" and wrt remixing tools it may be called with any name I think. OSDistro.py uses the presence of fedora.css in the repo to decide on a Fedora distribution. This file is not essential to the install process and may be missing in some repos.

What do you think?

Thanks,
Alexander.

_______________________________________________
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