Encrypted partition in kickstart

Issues related to applications and software problems and general support
Post Reply
lafon.francky
Posts: 1
Joined: 2021/07/21 07:17:19

Encrypted partition in kickstart

Post by lafon.francky » 2021/07/21 07:35:25

hi everyone,

I try to install Centos 8 with a kickstart file ! I want a partition encrypted. but the option --passphrase doesn't work ...

part /data --ondisk --fstype="xfs" --grow --size=1 --encrypted --passphrase=toto

In Centos 7 this line works ... I don't understand ! there is something changed ? :)

Best regards

pjwelsh
Posts: 2632
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Encrypted partition in kickstart

Post by pjwelsh » 2021/08/02 13:30:35

Mine works with:
part pv.314 --fstype=lvmpv --size=1000 --grow --encrypted --luks-version=luks1 --passphrase=SOMETHINGGOODHERE

Looks like this has been in place for me since the 8.0 days. If you know it should be different (like the luks-version), please let me know.

Post Reply