[virt-tools-list] [osinfo PATCH 8/8] Add VolumeIDs for CentOS
Christophe Fergeau
cfergeau at redhat.com
Sat Nov 19 09:42:05 UTC 2011
It doesn't seem to be possible to make the difference between a 32
or 64 bit CentOS iso just by looking at its headers so the iso type
guessing will need to be improved
---
data/oses/centos.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/data/oses/centos.xml b/data/oses/centos.xml
index 9c2e647..452c53e 100644
--- a/data/oses/centos.xml
+++ b/data/oses/centos.xml
@@ -7,6 +7,21 @@
<vendor>CentOS</vendor>
<family>Linux</family>
<clones id="http://redhat.com/rhel/6.0"/>
+
+ <!-- there is no obvious difference between x86 and x86_64 isos,
+ maybe we can lookup files on the iso to decide which arch it is? -->
+ <media arch="i386">
+ <iso>
+ <system-id>LINUX</system-id>
+ <volume-id>CentOS_6.0_Final</volume-id>
+ </iso>
+ </media>
+ <media arch="x86_64">
+ <iso>
+ <system-id>LINUX</system-id>
+ <volume-id>CentOS_6.0_Final</volume-id>
+ </iso>
+ </media>
</os>
<os id="http://centos.org/centos/6.1">
--
1.7.7.1
More information about the virt-tools-list
mailing list