Fix `MOUNT_POINT` for pre-mounted disk configuration (#2168)
This commit is contained in:
parent
3c2ed1c121
commit
07b0bb1835
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue