Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-04-13 11:02:45 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-04-13 11:02:45 +0200
commit9295f38134aa4683a95e2a1a2a081694eda76c98 (patch)
treecfd99a7954011dde56095d141fcf0e8eb244a27a /examples/guided.py
parent342dbb4ebf5f95306a68c8a2e75f7abe6111f358 (diff)
Added two comments.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index d274545c..7d8877bd 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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()