[Libosinfo] [PATCH osinfo-db 1/7] cirros: Add CirrOS 0.3.0 info

Fabiano Fidêncio fidencio at redhat.com
Mon Sep 10 17:55:20 UTC 2018


Although CirrOS doesn't generate any ISO, having its supported devices
and the minimum resources for ram is disk is still useful.

After talking to smoser on #cirros, he recommended to use:
- ram: 128 MB
- disk: 50 MB

https://bugzilla.redhat.com/show_bug.cgi?id=1212409

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/cirros-cloud.net/cirros-0.3.0.xml.in | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 data/os/cirros-cloud.net/cirros-0.3.0.xml.in

diff --git a/data/os/cirros-cloud.net/cirros-0.3.0.xml.in b/data/os/cirros-cloud.net/cirros-0.3.0.xml.in
new file mode 100644
index 0000000..5aeaf69
--- /dev/null
+++ b/data/os/cirros-cloud.net/cirros-0.3.0.xml.in
@@ -0,0 +1,30 @@
+<libosinfo version="0.0.1">
+<!-- Licensed under the GNU General Public License version 2 or later.
+     See http://www.gnu.org/licenses/ for a copy of the license text -->
+  <os id="http://cirros-cloud.net/cirros/0.3.0">
+    <short-id>cirros0.3.0</short-id>
+    <_name>CirrOS 0.3.0</_name>
+    <version>0.3.0</version>
+    <_vendor>CirrOS</_vendor>
+    <family>linux</family>
+    <distro>cirros</distro>
+
+    <release-date>2011-10-20</release-date>
+    <eol-date>2013-02-08</eol-date>
+
+    <devices>
+      <device id="http://usb.org/usb/80ee/0021"/> <!-- tablet -->
+      <device id="http://pcisig.com/pci/1af4/1000"/> <!-- virtio-net -->
+      <device id="http://pcisig.com/pci/1af4/1001"/> <!-- virtio-block -->
+    </devices>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1000000000</cpu>
+        <n-cpus>1</n-cpus>
+        <ram>134217728</ram>
+        <storage>52428800</storage>
+      </minimum>
+    </resources>
+  </os>
+</libosinfo>
-- 
2.17.1




More information about the Libosinfo mailing list