[Libosinfo] [osinfo-db PATCH v2 03/14] centos: Add <kernel-url-argument/>

Fabiano Fidêncio fidencio at redhat.com
Thu May 2 14:53:12 UTC 2019


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

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

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

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/centos.org/centos-6.0.xml.in  | 2 ++
 data/os/centos.org/centos-6.1.xml.in  | 2 ++
 data/os/centos.org/centos-6.10.xml.in | 2 ++
 data/os/centos.org/centos-6.2.xml.in  | 2 ++
 data/os/centos.org/centos-6.3.xml.in  | 2 ++
 data/os/centos.org/centos-6.4.xml.in  | 2 ++
 data/os/centos.org/centos-6.5.xml.in  | 2 ++
 data/os/centos.org/centos-6.6.xml.in  | 2 ++
 data/os/centos.org/centos-6.7.xml.in  | 2 ++
 data/os/centos.org/centos-6.8.xml.in  | 2 ++
 data/os/centos.org/centos-6.9.xml.in  | 2 ++
 data/os/centos.org/centos-7.0.xml.in  | 2 ++
 12 files changed, 24 insertions(+)

diff --git a/data/os/centos.org/centos-6.0.xml.in b/data/os/centos.org/centos-6.0.xml.in
index eb4e847..ba88696 100644
--- a/data/os/centos.org/centos-6.0.xml.in
+++ b/data/os/centos.org/centos-6.0.xml.in
@@ -62,6 +62,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.1.xml.in b/data/os/centos.org/centos-6.1.xml.in
index 1036044..8925307 100644
--- a/data/os/centos.org/centos-6.1.xml.in
+++ b/data/os/centos.org/centos-6.1.xml.in
@@ -61,6 +61,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.10.xml.in b/data/os/centos.org/centos-6.10.xml.in
index 04378a7..6e5b445 100644
--- a/data/os/centos.org/centos-6.10.xml.in
+++ b/data/os/centos.org/centos-6.10.xml.in
@@ -124,6 +124,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.2.xml.in b/data/os/centos.org/centos-6.2.xml.in
index b4c1db9..ff5d85b 100644
--- a/data/os/centos.org/centos-6.2.xml.in
+++ b/data/os/centos.org/centos-6.2.xml.in
@@ -61,6 +61,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.3.xml.in b/data/os/centos.org/centos-6.3.xml.in
index 9816d23..b7ad0fe 100644
--- a/data/os/centos.org/centos-6.3.xml.in
+++ b/data/os/centos.org/centos-6.3.xml.in
@@ -69,6 +69,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.4.xml.in b/data/os/centos.org/centos-6.4.xml.in
index 2a0386e..2e8d4f8 100644
--- a/data/os/centos.org/centos-6.4.xml.in
+++ b/data/os/centos.org/centos-6.4.xml.in
@@ -61,6 +61,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.5.xml.in b/data/os/centos.org/centos-6.5.xml.in
index f6a8897..929c422 100644
--- a/data/os/centos.org/centos-6.5.xml.in
+++ b/data/os/centos.org/centos-6.5.xml.in
@@ -61,6 +61,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.6.xml.in b/data/os/centos.org/centos-6.6.xml.in
index 5ba5172..e961b6c 100644
--- a/data/os/centos.org/centos-6.6.xml.in
+++ b/data/os/centos.org/centos-6.6.xml.in
@@ -104,6 +104,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.7.xml.in b/data/os/centos.org/centos-6.7.xml.in
index d9dc4c0..c550a80 100644
--- a/data/os/centos.org/centos-6.7.xml.in
+++ b/data/os/centos.org/centos-6.7.xml.in
@@ -140,6 +140,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.8.xml.in b/data/os/centos.org/centos-6.8.xml.in
index 284f843..ee3dce4 100644
--- a/data/os/centos.org/centos-6.8.xml.in
+++ b/data/os/centos.org/centos-6.8.xml.in
@@ -142,6 +142,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-6.9.xml.in b/data/os/centos.org/centos-6.9.xml.in
index a586eb6..5f4de8e 100644
--- a/data/os/centos.org/centos-6.9.xml.in
+++ b/data/os/centos.org/centos-6.9.xml.in
@@ -124,6 +124,8 @@
       </recommended>
     </resources>
 
+    <kernel-url-argument>method</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
diff --git a/data/os/centos.org/centos-7.0.xml.in b/data/os/centos.org/centos-7.0.xml.in
index e6d7fe8..ca45ba0 100644
--- a/data/os/centos.org/centos-7.0.xml.in
+++ b/data/os/centos.org/centos-7.0.xml.in
@@ -84,6 +84,8 @@
       </network-install>
     </resources>
 
+    <kernel-url-argument>inst.repo</kernel-url-argument>
+
     <installer>
       <script id='http://centos.org/centos/kickstart/jeos'/>
       <script id='http://centos.org/centos/kickstart/desktop'/>
-- 
2.21.0




More information about the Libosinfo mailing list