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@gmail.com>2021-03-08 14:58:58 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-08 14:58:58 +0100
commitffbb952eb35b25c7538dca3426854292b67e2cc3 (patch)
treef2e56bda682c0faeca86d560e9d61f3c701439d7 /examples
parent2fe8a173f487f7bed76a4745a8c957aca10f07f9 (diff)
Added some debugging.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index bfe8b4f3..264ff44e 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -167,8 +167,6 @@ if archinstall.arguments['harddrive'].has_partitions():
elif option == 'format-all':
archinstall.arguments['harddrive'].keep_partitions = False
-print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
-
# Get disk encryption password (or skip if blank)
if not archinstall.arguments.get('!encryption-password', None):
archinstall.arguments['!encryption-password'] = archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ')
@@ -230,12 +228,15 @@ except archinstall.RequirementError as e:
if not archinstall.arguments.get('nic', None):
archinstall.arguments['nic'] = archinstall.ask_to_configure_network()
+print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
+
print()
print('This is your chosen configuration:')
archinstall.log("-- Guided template chosen (with below config) --", level=archinstall.LOG_LEVELS.Debug)
archinstall.log(json.dumps(archinstall.arguments, indent=4, sort_keys=True, cls=archinstall.JSON), level=archinstall.LOG_LEVELS.Info)
print()
+print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
input('Press Enter to continue.')
"""