[Libosinfo] [PATCH 04/11] centos, test: Add OS info/testcase for CentOS 6.1

Fabiano Fidêncio fidencio at redhat.com
Sat Mar 23 14:09:27 UTC 2013


---
 data/oses/centos.xml.in                            | 35 ++++++++++++++++++++++
 .../centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt     | 29 ++++++++++++++++++
 .../centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt   | 29 ++++++++++++++++++
 3 files changed, 93 insertions(+)
 create mode 100644 test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt
 create mode 100644 test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt

diff --git a/data/oses/centos.xml.in b/data/oses/centos.xml.in
index bb8e570..333e77f 100644
--- a/data/oses/centos.xml.in
+++ b/data/oses/centos.xml.in
@@ -56,6 +56,41 @@
     <distro>centos</distro>
     <upgrades id="http://centos.org/centos/6.0"/>
     <clones id="http://redhat.com/rhel/6.1"/>
+
+    <media arch="i686">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>CentOS_6.1_Final</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>CentOS_6.1_Final</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <ram>536870912</ram>
+      </minimum>
+
+      <recommended>
+        <cpu>400000000</cpu>
+        <ram>1073741824</ram>
+        <storage>9663676416</storage>
+      </recommended>
+    </resources>
+
+    <installer>
+      <script id='http://redhat.com/scripts/rhel/jeos'/>
+      <script id='http://redhat.com/scripts/rhel/desktop'/>
+    </installer>
   </os>
 
 </libosinfo>
diff --git a/test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt b/test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt
new file mode 100644
index 0000000..e82512d
--- /dev/null
+++ b/test/isodata/centos/centos6.1/CentOS-6.1-i386-bin-DVD1.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: CentOS_6.1_Final
+Volume set id: 
+Publisher id: CentOS Project
+Data preparer id: CentOS
+Application id: CentOS_6.1_Final
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 1866306
+El Torito VD version 1 found, boot catalog is in sector 445
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'CentOS Project'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 1BE 446
diff --git a/test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt b/test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt
new file mode 100644
index 0000000..27b41f1
--- /dev/null
+++ b/test/isodata/centos/centos6.1/CentOS-6.1-x86_64-bin-DVD1.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: CentOS_6.1_Final
+Volume set id: 
+Publisher id: CentOS Project
+Data preparer id: CentOS
+Application id: CentOS_6.1_Final
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 2145392
+El Torito VD version 1 found, boot catalog is in sector 557
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'CentOS Project'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 22E 558
-- 
1.8.1.4




More information about the Libosinfo mailing list