[Libosinfo] [osinfo-db PATCH 2/3] rhel7*: Add maximum RAM resources

Fabiano Fidêncio fidencio at redhat.com
Tue Apr 9 12:42:27 UTC 2019


According to https://access.redhat.com/articles/rhel-limits:
- 7.0: 3TB
- 7.1: 6TB
- 7.2+: 12TB

https://gitlab.com/libosinfo/osinfo-db/issues/11

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/redhat.com/rhel-7-unknown.xml.in | 4 ++++
 data/os/redhat.com/rhel-7.0.xml.in       | 4 ++++
 data/os/redhat.com/rhel-7.1.xml.in       | 4 ++++
 data/os/redhat.com/rhel-7.2.xml.in       | 4 ++++
 data/os/redhat.com/rhel-7.3.xml.in       | 4 ++++
 data/os/redhat.com/rhel-7.4.xml.in       | 4 ++++
 data/os/redhat.com/rhel-7.5.xml.in       | 4 ++++
 data/os/redhat.com/rhel-7.6.xml.in       | 4 ++++
 8 files changed, 32 insertions(+)

diff --git a/data/os/redhat.com/rhel-7-unknown.xml.in b/data/os/redhat.com/rhel-7-unknown.xml.in
index 83c7537..86da502 100644
--- a/data/os/redhat.com/rhel-7-unknown.xml.in
+++ b/data/os/redhat.com/rhel-7-unknown.xml.in
@@ -110,6 +110,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>13194139533312</ram>
+      </maximum>
+
       <network-install>
         <ram>2147483648</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.0.xml.in b/data/os/redhat.com/rhel-7.0.xml.in
index e91446d..e5f57da 100644
--- a/data/os/redhat.com/rhel-7.0.xml.in
+++ b/data/os/redhat.com/rhel-7.0.xml.in
@@ -97,6 +97,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>3298534883328</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.1.xml.in b/data/os/redhat.com/rhel-7.1.xml.in
index 4e46f76..431e55e 100644
--- a/data/os/redhat.com/rhel-7.1.xml.in
+++ b/data/os/redhat.com/rhel-7.1.xml.in
@@ -85,6 +85,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>6597069766656</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.2.xml.in b/data/os/redhat.com/rhel-7.2.xml.in
index 88711f9..4296811 100644
--- a/data/os/redhat.com/rhel-7.2.xml.in
+++ b/data/os/redhat.com/rhel-7.2.xml.in
@@ -126,6 +126,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>13194139533312</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.3.xml.in b/data/os/redhat.com/rhel-7.3.xml.in
index b1125b9..a7a3fc3 100644
--- a/data/os/redhat.com/rhel-7.3.xml.in
+++ b/data/os/redhat.com/rhel-7.3.xml.in
@@ -112,6 +112,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>13194139533312</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.4.xml.in b/data/os/redhat.com/rhel-7.4.xml.in
index ef3faac..33f836f 100644
--- a/data/os/redhat.com/rhel-7.4.xml.in
+++ b/data/os/redhat.com/rhel-7.4.xml.in
@@ -112,6 +112,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>13194139533312</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.5.xml.in b/data/os/redhat.com/rhel-7.5.xml.in
index 1fe0baf..e60f46a 100644
--- a/data/os/redhat.com/rhel-7.5.xml.in
+++ b/data/os/redhat.com/rhel-7.5.xml.in
@@ -112,6 +112,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>13194139533312</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
diff --git a/data/os/redhat.com/rhel-7.6.xml.in b/data/os/redhat.com/rhel-7.6.xml.in
index e0eb644..bceaa72 100644
--- a/data/os/redhat.com/rhel-7.6.xml.in
+++ b/data/os/redhat.com/rhel-7.6.xml.in
@@ -112,6 +112,10 @@
         <storage>10737418240</storage>
       </recommended>
 
+      <maximum>
+        <ram>13194139533312</ram>
+      </maximum>
+
       <network-install>
         <ram>1610612736</ram>
       </network-install>
-- 
2.20.1




More information about the Libosinfo mailing list