index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-16 15:17:42 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-16 15:17:42 +0000 |
commit | 28912654099266d91c743d31e8c1ea80aee1eab6 (patch) | |
tree | bc559c2f91635c972e333ccd8bf3f315b14b8b5a /archinstall/lib | |
parent | c16872531e4c70343a472276f91fceae57ddc9ac (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index df0ddcdb..40f6410b 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -175,7 +175,7 @@ class Installer: for mountpoint in sorted(mountpoints.keys()): log(f"Mounting {mountpoint} to {self.target}{mountpoint}", level=logging.INFO) - if mountpoints[mountpoint]['encrypted']: + if mountpoints[mountpoint].get('encrypted', False): loopdev = storage.get('ENC_IDENTIFIER', 'ai') + 'loop' if not (password := mountpoints[mountpoint].get('!password', None)): raise RequirementError(f"Missing mountpoint {mountpoint} encryption password in layout: {mountpoints[mountpoint]}") |