|
|
b64852 |
From 1b2ffd45836aefa7a06cf5f0b62dc8b65df8e4ea Mon Sep 17 00:00:00 2001
|
|
|
b64852 |
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>
|
|
|
b64852 |
Date: Mon, 10 Sep 2018 13:16:36 +0200
|
|
|
b64852 |
Subject: [PATCH] install-script: Add Desktop support for rhel-8
|
|
|
b64852 |
MIME-Version: 1.0
|
|
|
b64852 |
Content-Type: text/plain; charset=UTF-8
|
|
|
b64852 |
Content-Transfer-Encoding: 8bit
|
|
|
b64852 |
|
|
|
b64852 |
The kickstart installation has only been working, so far, for the
|
|
|
b64852 |
"unified" ISO as the content needed to install a "workstation" is not
|
|
|
b64852 |
present in the default "DVD" install.
|
|
|
b64852 |
|
|
|
b64852 |
There's still a lot of conversations to happen and things to figure out
|
|
|
b64852 |
before we can consider this patch "official". But, at least for, it's
|
|
|
b64852 |
good as it is for testing the "unified" ISO.
|
|
|
b64852 |
|
|
|
b64852 |
https://bugzilla.redhat.com/show_bug.cgi?id=1580232
|
|
|
b64852 |
|
|
|
b64852 |
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
|
|
|
b64852 |
---
|
|
|
b64852 |
.../redhat.com/rhel-kickstart-desktop.xml | 43 ++++++++++++++-----
|
|
|
b64852 |
1 file changed, 32 insertions(+), 11 deletions(-)
|
|
|
b64852 |
|
|
|
b64852 |
diff --git a/install-script/redhat.com/rhel-kickstart-desktop.xml b/install-script/redhat.com/rhel-kickstart-desktop.xml
|
|
|
b64852 |
index 388d6d7..14ba866 100644
|
|
|
b64852 |
--- a/install-script/redhat.com/rhel-kickstart-desktop.xml
|
|
|
b64852 |
+++ b/install-script/redhat.com/rhel-kickstart-desktop.xml
|
|
|
b64852 |
@@ -69,7 +69,14 @@ lang <xsl:value-of select="config/l10n-language"/>
|
|
|
b64852 |
network --onboot yes --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/>
|
|
|
b64852 |
rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
|
|
|
b64852 |
firewall --disabled
|
|
|
b64852 |
+<xsl:choose>
|
|
|
b64852 |
+ <xsl:when test="os/version < 8">
|
|
|
b64852 |
authconfig --enableshadow --enablemd5
|
|
|
b64852 |
+ </xsl:when>
|
|
|
b64852 |
+ <xsl:otherwise>
|
|
|
b64852 |
+authselect select sssd
|
|
|
b64852 |
+ </xsl:otherwise>
|
|
|
b64852 |
+</xsl:choose>
|
|
|
b64852 |
timezone --utc <xsl:value-of select="config/l10n-timezone"/>
|
|
|
b64852 |
bootloader --location=mbr
|
|
|
b64852 |
zerombr
|
|
|
b64852 |
@@ -79,35 +86,49 @@ clearpart --all --drives=<xsl:call-template name="target-disk"/>
|
|
|
b64852 |
firstboot --disable
|
|
|
b64852 |
|
|
|
b64852 |
<xsl:choose>
|
|
|
b64852 |
- <xsl:when test="os/version < 7">
|
|
|
b64852 |
+ <xsl:when test="os/version < 8">
|
|
|
b64852 |
+ <xsl:choose>
|
|
|
b64852 |
+ <xsl:when test="os/version < 7">
|
|
|
b64852 |
part /boot --fstype ext4 --size=1024 --ondisk=<xsl:call-template name="target-disk"/>
|
|
|
b64852 |
- </xsl:when>
|
|
|
b64852 |
- <xsl:otherwise>
|
|
|
b64852 |
+ </xsl:when>
|
|
|
b64852 |
+ <xsl:otherwise>
|
|
|
b64852 |
part /boot --fstype ext4 --recommended --ondisk=<xsl:call-template name="target-disk"/>
|
|
|
b64852 |
- </xsl:otherwise>
|
|
|
b64852 |
-</xsl:choose>
|
|
|
b64852 |
+ </xsl:otherwise>
|
|
|
b64852 |
+ </xsl:choose>
|
|
|
b64852 |
part pv.2 --size=1 --grow --ondisk=<xsl:call-template name="target-disk"/>
|
|
|
b64852 |
volgroup VolGroup00 --pesize=32768 pv.2
|
|
|
b64852 |
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=768 --grow --maxsize=1536
|
|
|
b64852 |
logvol / --fstype ext4 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
|
|
|
b64852 |
+ </xsl:when>
|
|
|
b64852 |
+ <xsl:otherwise>
|
|
|
b64852 |
+autopart --type=lvm
|
|
|
b64852 |
+ </xsl:otherwise>
|
|
|
b64852 |
+</xsl:choose>
|
|
|
b64852 |
reboot
|
|
|
b64852 |
|
|
|
b64852 |
%packages
|
|
|
b64852 |
+<xsl:choose>
|
|
|
b64852 |
+ <xsl:when test="os/version < 8">
|
|
|
b64852 |
@core
|
|
|
b64852 |
@x11
|
|
|
b64852 |
-<xsl:choose>
|
|
|
b64852 |
- <xsl:when test="os/version < 7">
|
|
|
b64852 |
+ <xsl:choose>
|
|
|
b64852 |
+ <xsl:when test="os/version < 7">
|
|
|
b64852 |
@basic-desktop
|
|
|
b64852 |
@general-desktop
|
|
|
b64852 |
@desktop-platform
|
|
|
b64852 |
- </xsl:when>
|
|
|
b64852 |
- <xsl:otherwise>
|
|
|
b64852 |
+ </xsl:when>
|
|
|
b64852 |
+ <xsl:otherwise>
|
|
|
b64852 |
@gnome-desktop
|
|
|
b64852 |
@multimedia
|
|
|
b64852 |
- </xsl:otherwise>
|
|
|
b64852 |
-</xsl:choose>
|
|
|
b64852 |
+ </xsl:otherwise>
|
|
|
b64852 |
+ </xsl:choose>
|
|
|
b64852 |
@internet-browser
|
|
|
b64852 |
@input-methods
|
|
|
b64852 |
+ </xsl:when>
|
|
|
b64852 |
+ <xsl:otherwise>
|
|
|
b64852 |
+@^workstation-product-environment
|
|
|
b64852 |
+ </xsl:otherwise>
|
|
|
b64852 |
+</xsl:choose>
|
|
|
b64852 |
|
|
|
b64852 |
qemu-guest-agent
|
|
|
b64852 |
|
|
|
b64852 |
--
|
|
|
b64852 |
2.17.1
|
|
|
b64852 |
|