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+github@gmail.com>2020-09-01 12:22:44 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-09-01 12:22:44 +0200
commit5bba102c45a9709891c5ad7ed20a42b1f036d9a2 (patch)
tree2b98bc79a5f99f218e1b7655f78aa95167414e37 /examples/guided.py
parent2ac417239474cfb428dab6a9b7bf574fe613842f (diff)
Added list_mirrors() and prepared for selecting mirrors in guided.py
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: ')