From 1167cf589b65e121b8b3322980a83ddba2043b57 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 9 Mar 2021 14:09:17 +0100 Subject: Fixed mirror-region parameter selection. Converting to actual mirrors. --- examples/guided.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') diff --git a/examples/guided.py b/examples/guided.py index 55643933..08ad70d9 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -88,6 +88,10 @@ if len(archinstall.arguments['keyboard-language']): # Set which region to download packages from during the installation if not archinstall.arguments.get('mirror-region', None): archinstall.arguments['mirror-region'] = archinstall.select_mirror_regions(archinstall.list_mirrors()) +else: + selected_region = archinstall.arguments['mirror-region'] + archinstall.arguments['mirror-region'] = {selected_region : archinstall.list_mirrors()[selected_region]} + # Ask which harddrive/block-device we will install to if archinstall.arguments.get('harddrive', None): -- cgit v1.2.3-54-g00ecf