Let's say for example I have this line in the pre section of my kickstart file:
part / --asprimary --fstype="ext4" --size=10000 --encrypted --passphrase=pass1
Great, but, how does that work? Exactly how does "--encrypted" encrypt the partition? Does it use: cryptsetup luksFormat ...
?
A quick google search can tell me how to use cryptsetup, but a quick google search does not tell me exactly what the "--encryption" flag does. I need to reproduce what it does on a non-encrypted partition in the same exact fashion.