Added two comments.

This commit is contained in:
Anton Hvornum 2021-04-13 11:02:45 +02:00
parent 342dbb4ebf
commit 9295f38134
1 changed files with 5 additions and 0 deletions

View File

@ -281,12 +281,17 @@ def perform_installation(mountpoint):
while 'dead' not in (status := archinstall.service_state('reflector')):
time.sleep(1)
# Set mirrors used by pacstrap (outside of installation)
if archinstall.arguments.get('mirror-region', None):
archinstall.use_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors for the live medium
if installation.minimal_installation():
installation.set_hostname(archinstall.arguments['hostname'])
# Configure the selected mirrors in the installation
if archinstall.arguments.get('mirror-region', None):
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium
installation.set_keyboard_language(archinstall.arguments['keyboard-language'])
installation.add_bootloader()