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-11-13 10:46:11 +0100
committerAnton Hvornum <anton@hvornum.se>2021-11-13 10:46:11 +0100
commit1bc4e114feebde59a822b23d873b5af6dbc1db5d (patch)
tree1c28f64b7b8367dacb023810579d3d75df03807e /archinstall/__init__.py
parentca52c796a55fd34cc1309f26bab86e15da722182 (diff)
Adding in --mount-point argument, which overrides storage['MOUNT_POINT']
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index 2eec1ce6..30ed8667 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -72,6 +72,8 @@ 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)
+if arguments.get('mount-point'):
+ storage['MOUNT_POINT'] = arguments['mount-point']
from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony