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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 6f289caa..ad178207 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -192,9 +192,9 @@ def perform_installation(mountpoint):
enable_testing = False
enable_multilib = False
- if installation.minimal_installation(testing=enable_testing, multilib=enable_multilib):
- installation.set_locale(archinstall.arguments['sys-language'], archinstall.arguments['sys-encoding'].upper())
- installation.set_hostname(archinstall.arguments['hostname'])
+ if installation.minimal_installation(
+ testing=enable_testing, multilib=enable_multilib, hostname=archinstall.arguments['hostname'],
+ locales=[f"{archinstall.arguments['sys-language']} {archinstall.arguments['sys-encoding'].upper()}"]):
if archinstall.arguments.get('mirror-region') is not None:
if archinstall.arguments.get("mirrors", None) is not None:
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium