Improve the FDE hint, you need to type in the password twice.

This commit is contained in:
Oliver Smith 2017-07-22 12:49:43 +02:00
parent 77d7ed1679
commit 66cda810c1
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ def format_and_mount_root(args):
if args.full_disk_encryption:
logging.info("(native) format " + device + " (root, luks), mount to " +
mountpoint)
logging.info(" *** SET FULL DISK ENCRYPTION PASSWORD ***")
logging.info(
" *** TYPE IN THE FULL DISK ENCRYPTION PASSWORD (TWICE!) ***")
pmb.chroot.root(args, ["cryptsetup", "luksFormat", "--use-urandom",
"--cipher", args.cipher, "-q", device], log=False)
pmb.chroot.root(args, ["cryptsetup", "luksOpen", device,