index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <girtler.daniel@gmail.com> | 2024-03-08 00:43:16 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 14:43:16 +0100 |
commit | f927fb6e6a17123c05c6595bbdb45ed771596ab9 (patch) | |
tree | 9f858daed9ff66e1790b87bb3449a12ffa57d560 /examples | |
parent | 21dd295259e26580faa259dfe32d8e9554ae8933 (diff) |
-rw-r--r-- | examples/interactive_installation.py | 9 |
diff --git a/examples/interactive_installation.py b/examples/interactive_installation.py index f8cc75fc..69e509ba 100644 --- a/examples/interactive_installation.py +++ b/examples/interactive_installation.py @@ -5,7 +5,6 @@ import archinstall from archinstall import Installer from archinstall import profile from archinstall import SysInfo -from archinstall import mirrors from archinstall import disk from archinstall import menu from archinstall import models @@ -109,12 +108,8 @@ def perform_installation(mountpoint: Path): # generate encryption key files for the mounted luks devices installation.generate_key_files() - # Set mirrors used by pacstrap (outside of installation) if mirror_config := archinstall.arguments.get('mirror_config', None): - if mirror_config.mirror_regions: - mirrors.use_mirrors(mirror_config.mirror_regions) - if mirror_config.custom_mirrors: - mirrors.add_custom_mirrors(mirror_config.custom_mirrors) + installation.set_mirrors(mirror_config) installation.minimal_installation( testing=enable_testing, @@ -124,7 +119,7 @@ def perform_installation(mountpoint: Path): ) if mirror_config := archinstall.arguments.get('mirror_config', None): - installation.set_mirrors(mirror_config) # Set the mirrors in the installation medium + installation.set_mirrors(mirror_config, on_target=True) if archinstall.arguments.get('swap'): installation.setup_swap('zram') |