diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 1f928df2..7e9e1fc6 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -755,7 +755,7 @@ class Installer: # TODO: Use python functions for this SysCommand(f'/usr/bin/arch-chroot {self.target} chmod 700 /root') - if self._disk_encryption.hsm_device: + if self._disk_encryption and self._disk_encryption.hsm_device: # TODO: # A bit of a hack, but we need to get vconsole.conf in there # before running `mkinitcpio` because it expects it in HSM mode.