Forgot to check for HSM while mounting ordered layout
This commit is contained in:
parent
c93482a8b9
commit
e19ef44630
|
|
@ -260,8 +260,9 @@ class Installer:
|
||||||
partition['device_instance'] = unlocked_device
|
partition['device_instance'] = unlocked_device
|
||||||
|
|
||||||
if self._has_root(partition) and partition.get('generate-encryption-key-file', False) is False:
|
if self._has_root(partition) and partition.get('generate-encryption-key-file', False) is False:
|
||||||
hsm_device_path = storage['arguments']['HSM']
|
if storage['arguments'].get('HSM'):
|
||||||
fido2_enroll(hsm_device_path, partition['device_instance'], password)
|
hsm_device_path = storage['arguments']['HSM']
|
||||||
|
fido2_enroll(hsm_device_path, partition['device_instance'], password)
|
||||||
|
|
||||||
# we manage the btrfs partitions
|
# we manage the btrfs partitions
|
||||||
if any(btrfs_subvolumes := [entry for entry in list_part if entry.get('btrfs', {}).get('subvolumes', {})]):
|
if any(btrfs_subvolumes := [entry for entry in list_part if entry.get('btrfs', {}).get('subvolumes', {})]):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue