Forgot to give a password during encryption.
This commit is contained in:
parent
cea8892c7c
commit
da12f36305
|
|
@ -55,7 +55,7 @@ with archinstall.Filesystem(archinstall.arguments['harddrive'], archinstall.GPT)
|
|||
# Otherwise we just skip straight to formatting and installation
|
||||
if archinstall.arguments.get('!encryption-password', None):
|
||||
root.encrypted = True
|
||||
root.encrypt()
|
||||
root.encrypt(password=archinstall.arguments.get('!encryption-password', None))
|
||||
|
||||
with archinstall.luks2(root, 'luksloop', archinstall.arguments.get('!encryption-password', None)) as unlocked_root:
|
||||
unlocked_root.format(root.filesystem)
|
||||
|
|
|
|||
Loading…
Reference in New Issue