Use simple partitions instead of LVM

master
Daniel Berteaud 6 years ago
parent 66d698f5e9
commit 81e0547756
  1. 6
      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

Loading…
Cancel
Save