blob: 0bd30cd1bc8d7ab11b4deb85554a553bd7227c5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from pathlib import Path
from archinstall import disk
root_mount_dir = Path('/mnt/archinstall')
mods = disk.device_handler.detect_pre_mounted_mods(root_mount_dir)
disk_config = disk.DiskLayoutConfiguration(
disk.DiskLayoutType.Pre_mount,
device_modifications=mods,
relative_mountpoint=Path('/mnt/archinstall')
)
|