Fixed mirror-region parameter selection. Converting to actual mirrors.
This commit is contained in:
parent
cf21b47764
commit
1167cf589b
|
|
@ -78,7 +78,7 @@ class Installer():
|
|||
|
||||
if len(args) >= 2 and args[1]:
|
||||
#self.log(self.trace_log.decode('UTF-8'), level=LOG_LEVELS.Debug)
|
||||
self.log(args[1], level=LOG_LEVELS.Error)
|
||||
self.log(args[1], level=LOG_LEVELS.Error, fg='red')
|
||||
|
||||
self.sync_log_to_install_medium()
|
||||
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue