[libosinfo PATCH 2/4] silverblue, kickstart: Use autopart when possible

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

 



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@xxxxxxxxxx>
---
 .../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 &lt; 29">
-- 
2.20.1

_______________________________________________
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