mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
update-locale call added to locale task
This commit is contained in:
parent
6065cd5d2c
commit
8402a3afb2
1 changed files with 6 additions and 2 deletions
|
@ -16,8 +16,12 @@ class GenerateLocale(Task):
|
|||
search = '# ' + locale_str
|
||||
sed_i(locale_gen, search, locale_str)
|
||||
|
||||
command = ['/usr/sbin/chroot', info.root, '/usr/sbin/locale-gen']
|
||||
log_check_call(command)
|
||||
log_check_call(['/usr/sbin/chroot', info.root, '/usr/sbin/locale-gen'])
|
||||
|
||||
lang = '{locale}.{charmap}'.format(locale=info.manifest.system['locale'],
|
||||
charmap=info.manifest.system['charmap'])
|
||||
log_check_call(['/usr/sbin/chroot', info.root,
|
||||
'/usr/sbin/update-locale', 'LANG=' + lang])
|
||||
|
||||
|
||||
class SetTimezone(Task):
|
||||
|
|
Loading…
Add table
Reference in a new issue