Close #215: Write explicity what passwords are for in install
This commit is contained in:
parent
5651c28b41
commit
77d7ed1679
|
@ -37,6 +37,7 @@ def format_and_mount_root(args):
|
||||||
if args.full_disk_encryption:
|
if args.full_disk_encryption:
|
||||||
logging.info("(native) format " + device + " (root, luks), mount to " +
|
logging.info("(native) format " + device + " (root, luks), mount to " +
|
||||||
mountpoint)
|
mountpoint)
|
||||||
|
logging.info(" *** SET FULL DISK ENCRYPTION PASSWORD ***")
|
||||||
pmb.chroot.root(args, ["cryptsetup", "luksFormat", "--use-urandom",
|
pmb.chroot.root(args, ["cryptsetup", "luksFormat", "--use-urandom",
|
||||||
"--cipher", args.cipher, "-q", device], log=False)
|
"--cipher", args.cipher, "-q", device], log=False)
|
||||||
pmb.chroot.root(args, ["cryptsetup", "luksOpen", device,
|
pmb.chroot.root(args, ["cryptsetup", "luksOpen", device,
|
||||||
|
|
|
@ -67,6 +67,7 @@ def set_user_password(args):
|
||||||
"""
|
"""
|
||||||
Loop until the passwords for user and root have been changed successfully.
|
Loop until the passwords for user and root have been changed successfully.
|
||||||
"""
|
"""
|
||||||
|
logging.info(" *** SET LOGIN PASSWORD FOR: 'user' ***")
|
||||||
suffix = "rootfs_" + args.device
|
suffix = "rootfs_" + args.device
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue