[Libosinfo] [libosinfo PATCH 2/4] silverblue, kickstart: Use autopart when possible
Fabiano Fidêncio
fidencio at redhat.com
Thu Mar 7 10:30:20 UTC 2019
Let's take advantage of "autopart" and stop setting up the partitions
manually.
autopart is available since Fedora3 according to its documentation:
https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id3
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
.../silverblue-kickstart-desktop.xml.in | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in
index 17841bf..09cdd62 100644
--- a/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in
+++ b/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in
@@ -59,16 +59,10 @@ timezone --utc <xsl:value-of select="config/l10n-timezone"/>
bootloader --location=mbr
zerombr
-clearpart --all --drives=/dev/vda
-
firstboot --disable
-part biosboot --fstype=biosboot --size=1
-part /boot --fstype ext4 --recommended --ondisk=/dev/vda
-part pv.2 --size=1 --grow --ondisk=/dev/vda
-volgroup VolGroup00 --pesize=32768 pv.2
-logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=768 --grow --maxsize=1536
-logvol / --fstype xfs --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
+clearpart --all --drives=/dev/vda
+autopart
<xsl:choose>
<xsl:when test="os/version < 29">
--
2.20.1
More information about the Libosinfo
mailing list