Added the overall guided config into the installer log. This applies to the guided template only.

This commit is contained in:
Anton Hvornum 2020-11-05 00:05:03 +00:00
parent efd6e2add2
commit c22e986874
1 changed files with 3 additions and 1 deletions

View File

@ -175,9 +175,11 @@ while 1:
except archinstall.RequirementError as e:
print(e)
print()
print('This is your chosen configuration:')
print(json.dumps(archinstall.storage['_guided'], indent=4, sort_keys=True, cls=archinstall.JSON))
archinstall.log("-- Guided template chosen (with below config) --", level=archinstall.LOG_LEVELS.Debug)
archinstall.log(json.dumps(archinstall.storage['_guided'], indent=4, sort_keys=True, cls=archinstall.JSON), level=archinstall.LOG_LEVELS.Info)
print()
"""