Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-02 21:31:28 +0200
committerAnton Hvornum <anton@hvornum.se>2021-06-02 21:31:28 +0200
commit6a0f6b161c69a465529e13f061c83e5609bdfaf3 (patch)
treee35479fb440a989fd2e097061280991993b06481 /archinstall/__init__.py
parent7b0863f2899812607f064c0b76c9347410302726 (diff)
Adding more granular debugging
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index fcd9a706..0b799d5b 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -61,6 +61,10 @@ def initialize_arguments():
arguments = initialize_arguments()
+storage['arguments'] = arguments
+if arguments.get('debug'):
+ log(f"Warning: --debug mode will write certain credentials to {storage['LOG_PATH']}/{storage['LOG_FILE']}!", fg="red", level=logging.WARNING)
+
from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony
if arguments.get('plugin', None):