From 07b0bb18351c5fec332fc27808f9c51996acbae1 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Sun, 15 Oct 2023 03:26:34 -0400 Subject: Fix `MOUNT_POINT` for pre-mounted disk configuration (#2168) --- archinstall/lib/interactions/disk_conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archinstall') diff --git a/archinstall/lib/interactions/disk_conf.py b/archinstall/lib/interactions/disk_conf.py index c18119ec..bf24a22c 100644 --- a/archinstall/lib/interactions/disk_conf.py +++ b/archinstall/lib/interactions/disk_conf.py @@ -11,6 +11,7 @@ from ..menu import TableMenu from ..menu.menu import MenuSelectionType from ..output import FormattedOutput, debug from ..utils.util import prompt_dir +from ..storage import storage if TYPE_CHECKING: _: Any @@ -140,6 +141,8 @@ def select_disk_config( return preset mods = disk.device_handler.detect_pre_mounted_mods(path) + storage['MOUNT_POINT'] = Path(path) + return disk.DiskLayoutConfiguration( config_type=disk.DiskLayoutType.Pre_mount, device_modifications=mods -- cgit v1.2.3-70-g09d2