added pulling sys-language and sys-encoding from config

This commit is contained in:
Yash Tripathi 2021-05-23 13:33:48 +05:30 committed by GitHub
parent 87955e0ba6
commit 1d04acb603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -448,5 +448,7 @@ else:
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()