From c22e986874c60e7baffc503023070ec6ffbdda72 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 5 Nov 2020 00:05:03 +0000 Subject: Added the overall guided config into the installer log. This applies to the guided template only. --- examples/guided.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/guided.py b/examples/guided.py index 8295c849..0ecad27a 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -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() """ -- cgit v1.2.3-70-g09d2