diff --git a/providers/ec2/tasks/locale.py b/providers/ec2/tasks/locale.py index de3e434..a0005b4 100644 --- a/providers/ec2/tasks/locale.py +++ b/providers/ec2/tasks/locale.py @@ -16,7 +16,7 @@ class GenerateLocale(Task): search = '# ' + locale_str sed_i(locale_gen, search, locale_str) - command = ['/usr/sbin/chroot', info.root, '/usr/sbin/dpkg-reconfigure', '--priority=critical', 'locales'] + command = ['/usr/sbin/chroot', info.root, '/usr/sbin/locale-gen'] log_check_call(command)