[lxc-users] LXC ubuntu locales
nbensa+lxcusers at gmail.com
Sat Apr 2 01:37:04 UTC 2016
2016-04-01 17:45 GMT-03:00 Andrey Repin <anrdaemon at yandex.ru>:
> Greetings, 술욱!
>> Have you tried:
>> LC_ALL=C sudo lxc-create... ?
>> or LC_ALL=en_US.utf-8 sudo lxc-create ...
> Neither will work. For obvious reasons.
> `man sudo' for the details.
Not so obvious to me. It "should" work, but the template tries to
"guess" from the packages installed in the host.
if which dpkg >/dev/null 2>&1; then
langpacks=`(echo $langpacks &&
dpkg -l | grep -E "^ii language-pack-[a-z]* " |
cut -d ' ' -f3) | sort -u`
So yes, what I proposed won't work, but not because of sudo.
More information about the lxc-users