index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2023-03-29 21:48:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 12:48:11 +0200 |
commit | 83f4b4178fae83f9fae3dd0a7ac333957acd0c3f (patch) | |
tree | 913f6abea842bfb350d6fbc02f8bbceb38bdb375 /archinstall/lib/configuration.py | |
parent | b2fc71c9e5b3df3658ff12ed9a8f0d3c09a21136 (diff) |
-rw-r--r-- | archinstall/lib/configuration.py | 5 |
diff --git a/archinstall/lib/configuration.py b/archinstall/lib/configuration.py index ad537b21..e0b5a143 100644 --- a/archinstall/lib/configuration.py +++ b/archinstall/lib/configuration.py @@ -44,7 +44,7 @@ class ConfigurationOutput: self._disk_layout_file = "user_disk_layout.json" self._sensitive = ['!users'] - self._ignore = ['abort', 'install', 'config', 'creds', 'dry_run', 'disk_encryption'] + self._ignore = ['abort', 'install', 'config', 'creds', 'dry_run'] self._process_config() @@ -71,6 +71,9 @@ class ConfigurationOutput: else: self._user_config[key] = self._config[key] + if key == 'disk_encryption': # special handling for encryption password + self._user_credentials['encryption_password'] = self._config[key].encryption_password + def user_config_to_json(self) -> str: return json.dumps({ 'config_version': storage['__version__'], # Tells us what version was used to generate the config |