[virt-tools-list] [libosinfo 8/8] Add media metatadata to RHEL & some Windows OSs XML

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Aug 4 18:21:15 UTC 2011


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

---
 data/oses/rhel.xml    |   91 +++++++++++++++++++++++++++++++++++++++++++++++++
 data/oses/windows.xml |   34 ++++++++++++++++++
 2 files changed, 125 insertions(+), 0 deletions(-)

diff --git a/data/oses/rhel.xml b/data/oses/rhel.xml
index 2d95dbd..8a3f834 100644
--- a/data/oses/rhel.xml
+++ b/data/oses/rhel.xml
@@ -22,6 +22,19 @@
     <version>4.8</version>
     <vendor>Red Hat, Inc</vendor>
     <family>Linux</family>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_4.8 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_4.8 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://redhat.com/rhel/4.9">
@@ -31,6 +44,19 @@
     <vendor>Red Hat, Inc</vendor>
     <family>Linux</family>
     <upgrades id="http://redhat.com/rhel/4.8"/>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_4.9 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_4.9 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://redhat.com/rhel/5.4">
@@ -39,6 +65,19 @@
     <version>5.6</version>
     <vendor>Red Hat, Inc</vendor>
     <family>Linux</family>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_5.4 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_5.4 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://redhat.com/rhel/5.6">
@@ -52,6 +91,19 @@
       <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/>
       <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
     </devices>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_5.6 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_5.6 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://redhat.com/rhel/5.7">
@@ -61,6 +113,19 @@
     <vendor>Red Hat, Inc</vendor>
     <family>Linux</family>
     <upgrades id="http://redhat.com/rhel/5.6"/>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_5.7 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_5.7 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://redhat.com/rhel/6.0">
@@ -75,6 +140,19 @@
       <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
       <device id="http://www.linux-usb.org/usb.ids/80ee/0021"/>
     </devices>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_6.0 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_6.0 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://redhat.com/rhel/6.1">
@@ -84,6 +162,19 @@
     <vendor>Red Hat, Inc</vendor>
     <family>Linux</family>
     <upgrades id="http://redhat.com/rhel/6.0"/>
+
+    <media arch="i386">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_6.1 i386</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL_6.1 x86_64</volume-id>
+      </iso>
+    </media>
   </os>
 
 </libosinfo>
diff --git a/data/oses/windows.xml b/data/oses/windows.xml
index 3a91723..90a6b7e 100644
--- a/data/oses/windows.xml
+++ b/data/oses/windows.xml
@@ -19,6 +19,13 @@
     <vendor>Microsoft</vendor>
     <family>Windows</family>
     <derives-from id="http://microsoft.com/windows"/>
+
+    <media arch="i386">
+      <iso>
+        <volume-id>GRTMP</volume-id>
+        <publisher-id>MICROSOFT CORPORATION</publisher-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://microsoft.com/winxp64">
@@ -46,6 +53,13 @@
     <vendor>Microsoft</vendor>
     <family>Windows</family>
     <derives-from id="http://microsoft.com/windows"/>
+
+    <media arch="i386">
+      <iso>
+        <volume-id>CRMS</volume-id>
+        <publisher-id>MICROSOFT CORPORATION</publisher-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://microsoft.com/win2k8">
@@ -56,6 +70,13 @@
     <family>Windows</family>
     <derives-from id="http://microsoft.com/windows"/>
     <upgrades id="http://microsoft.com/win2k3"/>
+
+    <media arch="x86_64">
+      <iso>
+        <volume-id>GRMSX</volume-id>
+        <publisher-id>MICROSOFT CORPORATION</publisher-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://microsoft.com/vista">
@@ -76,6 +97,19 @@
     <family>Windows</family>
     <derives-from id="http://microsoft.com/windows"/>
     <upgrades id="http://microsoft.com/vista"/>
+
+    <media arch="i386">
+      <iso>
+        <volume-id>GSP1RMCEN</volume-id>
+        <publisher-id>MICROSOFT CORPORATION</publisher-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>GSP1RMCENX</volume-id>
+        <publisher-id>MICROSOFT CORPORATION</publisher-id>
+      </iso>
+    </media>
   </os>
 
 </libosinfo>
-- 
1.7.6




More information about the virt-tools-list mailing list