[Libosinfo] [osinfo-db PATCH v3 02/13] rhel: Add <kernel-url-argument/>

Fabiano Fidêncio fidencio at redhat.com
Fri May 3 15:55:42 UTC 2019


The <kernel-url-argument/> attribute is what has to be passed to kernel
whenever performing a tree based installation.

For rhel < 7, "method" should be used. For rhel >= 7 "inst.repo" should
be used instead.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/redhat.com/rhel-5.0.xml.in | 2 ++
 data/os/redhat.com/rhel-6.0.xml.in | 2 ++
 data/os/redhat.com/rhel-7.0.xml.in | 2 ++
 data/os/redhat.com/rhel-8.0.xml.in | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/data/os/redhat.com/rhel-5.0.xml.in b/data/os/redhat.com/rhel-5.0.xml.in
index d6dc846..c1eb51e 100644
--- a/data/os/redhat.com/rhel-5.0.xml.in
+++ b/data/os/redhat.com/rhel-5.0.xml.in
@@ -12,5 +12,7 @@
 
     <release-date>2007-03-14</release-date>
     <eol-date>2020-03-31</eol-date>
+
+    <kernel-url-argument>method</kernel-url-argument>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-6.0.xml.in b/data/os/redhat.com/rhel-6.0.xml.in
index 3e2dab1..858e02e 100644
--- a/data/os/redhat.com/rhel-6.0.xml.in
+++ b/data/os/redhat.com/rhel-6.0.xml.in
@@ -93,6 +93,8 @@
       </maximum>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://redhat.com/rhel/kickstart/jeos'/>
       <script id='http://redhat.com/rhel/kickstart/desktop'/>
diff --git a/data/os/redhat.com/rhel-7.0.xml.in b/data/os/redhat.com/rhel-7.0.xml.in
index e5f57da..bf72752 100644
--- a/data/os/redhat.com/rhel-7.0.xml.in
+++ b/data/os/redhat.com/rhel-7.0.xml.in
@@ -106,6 +106,8 @@
       </network-install>
     </resources>
 
+    <kernel-url-argument>inst.repo</kernel-url-argument>
+
     <installer>
       <script id='http://redhat.com/rhel/kickstart/jeos'/>
       <script id='http://redhat.com/rhel/kickstart/desktop'/>
diff --git a/data/os/redhat.com/rhel-8.0.xml.in b/data/os/redhat.com/rhel-8.0.xml.in
index fe9f489..9a6e4a8 100644
--- a/data/os/redhat.com/rhel-8.0.xml.in
+++ b/data/os/redhat.com/rhel-8.0.xml.in
@@ -140,5 +140,7 @@
         <storage>10737418240</storage>
       </recommended>
     </resources>
+
+    <kernel-url-argument>inst.repo</kernel-url-argument>
   </os>
 </libosinfo>
-- 
2.21.0




More information about the Libosinfo mailing list