Although we only support unattended installations for CentOS 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 CentOS 5.6 (and not 5.0). Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- data/install-script/centos.org/centos-kickstart-desktop.xml.in | 2 +- data/install-script/centos.org/centos-kickstart-jeos.xml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/install-script/centos.org/centos-kickstart-desktop.xml.in b/data/install-script/centos.org/centos-kickstart-desktop.xml.in index db4a785..d3179c4 100644 --- a/data/install-script/centos.org/centos-kickstart-desktop.xml.in +++ b/data/install-script/centos.org/centos-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 > 4"> + <xsl:when test="os/version > 5.5"> <!-- virtio --> <xsl:text>/dev/vda</xsl:text> </xsl:when> diff --git a/data/install-script/centos.org/centos-kickstart-jeos.xml.in b/data/install-script/centos.org/centos-kickstart-jeos.xml.in index d872800..9462555 100644 --- a/data/install-script/centos.org/centos-kickstart-jeos.xml.in +++ b/data/install-script/centos.org/centos-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 > 4"> + <xsl:when test="os/version > 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