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@hvornum.se>2021-05-23 10:32:43 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-23 10:32:43 +0200
commit0b3e8227955a9ad5fe4d2da87a718df1e906af65 (patch)
tree3a33ae50331b786b6c72094bc66b19c512a37b7d /examples/guided.py
parent9fa9520ac9a172a7d8fed934874019eb94169134 (diff)
parentdc10d5232c7c23af909e65be92172c64efdff144 (diff)
Merge branch 'master' of github.com:archlinux/archinstall
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index cbf30eb3..c3e5848b 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -445,5 +445,10 @@ else:
archinstall.arguments['profile'] = archinstall.Profile(None, archinstall.arguments.get('profile', None))
else:
archinstall.arguments['profile'] = None
-
+ if archinstall.arguments.get('mirror-region', None) is not None:
+ selected_region = archinstall.arguments.get('mirror-region', None)
+ archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[selected_region]}
+ archinstall.arguments['sys-language'] = archinstall.arguments.get('sys-language', 'en_US')
+ archinstall.arguments['sys-encoding'] = archinstall.arguments.get('sys-encoding', 'utf-8')
+
perform_installation_steps()