[CentOS] CentOS 8 installer bug

Fri Aug 28 20:56:41 UTC 2020
isdtor <isdtor at gmail.com>

isdtor writes:
> Has anyone managed to create an encrypted disk partition with CentOS 8 kickstart?
> 1 reqpart --add-boot
> 2 part /boot --fstype ext3 --size=1024 --ondrive=sda
> 3 part pv.1 --size=1 --grow --ondrive=sda --encrypted --pashphrase="bla"
> 4 volgroup vol0 pv.100000
> 5 logvol / --vgname=vg_00 --name=lv_root --size=102400 --fstype=ext4
> ...
So, yeah, apologies for the typos. The actual ks file is correct and consistent.

The problem was line 3 - apparently, "--size=1 --grow" doesn't cut it anymore. Increasing size to a reasonable number, e.g in the order of "sum of all lvols", got me over the hump.