From 81e05477568be0fa8d0297a3268bc933e91caf23 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 27 Jan 2019 17:26:04 +0100 Subject: [PATCH] Use simple partitions instead of LVM --- el7.ks | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/el7.ks b/el7.ks index 93136a2..6522960 100644 --- a/el7.ks +++ b/el7.ks @@ -85,10 +85,8 @@ ignore=$(echo $(list-harddrives | awk '$1!="'$main_drive'" {print $1}') | sed -e cat << _EOF >> /tmp/ks.partitions clearpart --all --initlabel --drives $main_drive part /boot --fstype xfs --size 1024 --ondrive $main_drive -part pv.2 --size 7680 --grow --ondrive $main_drive -volgroup main --pesize 4096 pv.2 -logvol / --fstype xfs --name root --vgname main --size 7168 -logvol swap --fstype swap --name swap --vgname main --size 512 +part swap --fstype swap --size 512 +part / --fstype xfs --size 7168 --grow _EOF %end