[Libosinfo] [osinfo-db PATCH 1/3] rhel7*: Add network-install resources

Fabiano Fidêncio fidencio at redhat.com
Fri Mar 29 18:22:52 UTC 2019


In order to perform a tree based installation, dracut will download the
whole stage2 into memory, using them more memory than the recommended to
run the system.

It's documented in the 22th Note of the following link
https://access.redhat.com/articles/rhel-limits

"22. Network / PXE install requires at least 1.5 GB of RAM for the
install procedure only."

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 c0be24a..83c7537 100644
--- a/data/os/redhat.com/rhel-7-unknown.xml.in
+++ b/data/os/redhat.com/rhel-7-unknown.xml.in
@@ -109,6 +109,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>2147483648</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.0.xml.in b/data/os/redhat.com/rhel-7.0.xml.in
index c1850e5..e91446d 100644
--- a/data/os/redhat.com/rhel-7.0.xml.in
+++ b/data/os/redhat.com/rhel-7.0.xml.in
@@ -96,6 +96,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.1.xml.in b/data/os/redhat.com/rhel-7.1.xml.in
index cb8c635..4e46f76 100644
--- a/data/os/redhat.com/rhel-7.1.xml.in
+++ b/data/os/redhat.com/rhel-7.1.xml.in
@@ -84,6 +84,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.2.xml.in b/data/os/redhat.com/rhel-7.2.xml.in
index 4d167c1..88711f9 100644
--- a/data/os/redhat.com/rhel-7.2.xml.in
+++ b/data/os/redhat.com/rhel-7.2.xml.in
@@ -125,6 +125,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.3.xml.in b/data/os/redhat.com/rhel-7.3.xml.in
index 147c294..b1125b9 100644
--- a/data/os/redhat.com/rhel-7.3.xml.in
+++ b/data/os/redhat.com/rhel-7.3.xml.in
@@ -111,6 +111,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.4.xml.in b/data/os/redhat.com/rhel-7.4.xml.in
index cdc33a1..ef3faac 100644
--- a/data/os/redhat.com/rhel-7.4.xml.in
+++ b/data/os/redhat.com/rhel-7.4.xml.in
@@ -111,6 +111,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.5.xml.in b/data/os/redhat.com/rhel-7.5.xml.in
index f31e6c5..1fe0baf 100644
--- a/data/os/redhat.com/rhel-7.5.xml.in
+++ b/data/os/redhat.com/rhel-7.5.xml.in
@@ -111,6 +111,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
diff --git a/data/os/redhat.com/rhel-7.6.xml.in b/data/os/redhat.com/rhel-7.6.xml.in
index 615cecd..e0eb644 100644
--- a/data/os/redhat.com/rhel-7.6.xml.in
+++ b/data/os/redhat.com/rhel-7.6.xml.in
@@ -111,6 +111,10 @@
         <ram>1073741824</ram>
         <storage>10737418240</storage>
       </recommended>
+
+      <network-install>
+        <ram>1610612736</ram>
+      </network-install>
     </resources>
 
     <installer>
-- 
2.20.1




More information about the Libosinfo mailing list