Changing debug information
This commit is contained in:
parent
c2ddf726ef
commit
4b7ea2aaa9
|
|
@ -123,7 +123,6 @@ class Filesystem:
|
||||||
else:
|
else:
|
||||||
loopdev = f"{storage.get('ENC_IDENTIFIER', 'ai')}{pathlib.Path(partition['device_instance'].path).name}"
|
loopdev = f"{storage.get('ENC_IDENTIFIER', 'ai')}{pathlib.Path(partition['device_instance'].path).name}"
|
||||||
|
|
||||||
print(partition['!password'])
|
|
||||||
partition['device_instance'].encrypt(
|
partition['device_instance'].encrypt(
|
||||||
password=partition['!password'],
|
password=partition['!password'],
|
||||||
key_size=storage['arguments']['crypt_key_size'],
|
key_size=storage['arguments']['crypt_key_size'],
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ class luks2:
|
||||||
password = bytes(password, 'UTF-8')
|
password = bytes(password, 'UTF-8')
|
||||||
|
|
||||||
partition.partprobe()
|
partition.partprobe()
|
||||||
time.sleep(1)
|
time.sleep(10)
|
||||||
|
|
||||||
cryptsetup_args = shlex.join([
|
cryptsetup_args = shlex.join([
|
||||||
'/usr/bin/cryptsetup',
|
'/usr/bin/cryptsetup',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue