[Libosinfo] [PATCH libosinfo 2/3] Add CentOS 7.0

Giuseppe Scrivano gscrivan at redhat.com
Mon Jul 28 14:01:40 UTC 2014


Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 data/oses/centos.xml.in                            | 40 ++++++++++++++++++++++
 .../centos7.0/CentOS-7.0-1406-x86_64-DVD.iso.txt   | 29 ++++++++++++++++
 .../CentOS-7.0-1406-x86_64-Everything.iso.txt      | 29 ++++++++++++++++
 3 files changed, 98 insertions(+)
 create mode 100644 test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-DVD.iso.txt
 create mode 100644 test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-Everything.iso.txt

diff --git a/data/oses/centos.xml.in b/data/oses/centos.xml.in
index 7f53bb4..3c79918 100644
--- a/data/oses/centos.xml.in
+++ b/data/oses/centos.xml.in
@@ -277,4 +277,44 @@
     </installer>
   </os>
 
+  <os id="http://centos.org/centos/7.0">
+    <short-id>centos7.0</short-id>
+    <_name>CentOS 7.0</_name>
+    <version>7.0</version>
+    <_vendor>CentOS</_vendor>
+    <family>linux</family>
+    <distro>centos</distro>
+    <upgrades id="http://centos.org/centos/6.5"/>
+    <clones id="http://redhat.com/rhel/7.0"/>
+
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>.*CentOS 7 x86_64.*</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <cpu>1000000000</cpu>
+        <ram>1073741824</ram>
+        <storage>10737418240</storage>
+      </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/centos7.0/CentOS-7.0-1406-x86_64-DVD.iso.txt b/test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-DVD.iso.txt
new file mode 100644
index 0000000..fab7e74
--- /dev/null
+++ b/test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-DVD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: CentOS 7 x86_64
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+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: 2025430
+El Torito VD version 1 found, boot catalog is in sector 530
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff E5C 3676
diff --git a/test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-Everything.iso.txt b/test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-Everything.iso.txt
new file mode 100644
index 0000000..7b2d0f0
--- /dev/null
+++ b/test/isodata/centos/centos7.0/CentOS-7.0-1406-x86_64-Everything.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: CentOS 7 x86_64
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+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: 3448097
+El Torito VD version 1 found, boot catalog is in sector 1202
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 10FC 4348
-- 
1.9.3




More information about the Libosinfo mailing list