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:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index a072a262..59260775 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -43,6 +43,10 @@ archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', surpress_error
keyboard_language = archinstall.select_language(archinstall.list_keyboard_languages())
archinstall.set_keyboard_language(keyboard_language)
+# Set which region to download packages from during the installation
+mirror_regions = archinstall.select_mirror_regions(archinstall.list_mirrors())
+archinstall.use_mirrors(mirror_regions)
+
harddrive = archinstall.select_disk(archinstall.all_disks())
while (disk_password := getpass.getpass(prompt='Enter disk encryption password (leave blank for no encryption): ')):
disk_password_verification = getpass.getpass(prompt='And one more time for verification: ')