aentos/aentos-lxc-builder — pull request #17 by juanje (2012-11-28 00:43:31+00:00)
Title: Fix: locale issue that was making the postgresql installation fails

I was having a very weird issue with the Postgresql installation. The oficial recipe was failing just inside the LXC. On a vagrant VM wasn't failing.

After some checks, I realized that it was runing OK inside the LXC container if I login with `lxc-console`, but not if I do through `ssh`.
The problem here was that the `ssh` was keeping my host environment (my locales) and it tried to use `LANG="es_ES.UTF-8"` which was making troubles with the `apt` inside the LXC.