Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-05 00:05:03 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-05 00:05:03 +0000
commitc22e986874c60e7baffc503023070ec6ffbdda72 (patch)
tree274358765f35cbbdbc919083c23ed8c03801fd1e /examples
parentefd6e2add2a4e98100df112b60e02e8178df6b44 (diff)
Added the overall guided config into the installer log. This applies to the guided template only.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 3 insertions, 1 deletions
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()
"""