]> git.proxmox.com Git - mirror_lxc.git/commit - templates/lxc-ubuntu.in
lxc-ubuntu: Guess a list of langpacks to install
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 28 Nov 2012 23:29:56 +0000 (18:29 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 29 Nov 2012 15:26:23 +0000 (10:26 -0500)
commitfade719ed906ad7aa73204ca84747047bae3d7bf
tree9a025997e38a1923b59f1f95b3e2091286d987cd
parent18f823c1ca9f750ebad23f45026fcdeddc57a389
lxc-ubuntu: Guess a list of langpacks to install

In addition to creating the current locale in the container, also
try to scan the host and extra the list of langpacks installed there,
then pass that list to debootstrap as additional packages to install.

On distros that don't have dpkg, only language-pack-en will be installed.
The code will always ensure that language-pack-en is ALWAYS installed in the
target, similar to what Ubuntu does with its various media.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-ubuntu.in