Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-15 18:49:39 +0000
committerGitHub <noreply@github.com>2021-11-15 18:49:39 +0000
commitfd2eb742035f99d0c776452506f41532938b5d9e (patch)
tree1c28f64b7b8367dacb023810579d3d75df03807e
parentca52c796a55fd34cc1309f26bab86e15da722182 (diff)
parent1bc4e114feebde59a822b23d873b5af6dbc1db5d (diff)
Merge pull request #715 from archlinux/torxed-add-mntpoint-arg
Adding in --mount-point argument, which overrides storage['MOUNT_POINT']
-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