[osinfo-db PATCH 09/15] install-script, rhel: Only use virtio for 5.6+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Although we only support unattended installations for Red Hat Enterprise
Linux 6 (or newer), let's fix the condition for using virtio as the
target disk.

Unlike suggested in the previous condition, virtio-block has only been
added to Red Hat Enterprise Linux 5.6 (and not 5.0).

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 data/install-script/redhat.com/rhel-kickstart-desktop.xml.in | 2 +-
 data/install-script/redhat.com/rhel-kickstart-jeos.xml.in    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
index 286c92c..aec7cf7 100644
--- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
+++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
@@ -36,7 +36,7 @@
             <xsl:when test="config/target-disk != ''">
               <xsl:value-of select="config/target-disk"/>
             </xsl:when>
-            <xsl:when test="os/version &gt; 4">
+            <xsl:when test="os/version &gt; 5.5">
               <!-- virtio -->
               <xsl:text>/dev/vda</xsl:text>
             </xsl:when>
diff --git a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in
index 6e60d03..c15e926 100644
--- a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in
+++ b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in
@@ -28,7 +28,7 @@
             <xsl:when test="config/target-disk != ''">
               <xsl:value-of select="config/target-disk"/>
             </xsl:when>
-            <xsl:when test="os/version &gt; 4">
+            <xsl:when test="os/version &gt; 5.5">
               <!-- virtio -->
               <xsl:text>/dev/vda</xsl:text>
             </xsl:when>
-- 
2.21.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux