diff --git a/boxes/debian/lxc-template b/boxes/debian/lxc-template index b5fbbe0..823f7e2 100755 --- a/boxes/debian/lxc-template +++ b/boxes/debian/lxc-template @@ -73,7 +73,7 @@ send host-name "$hostname"; EOF echo 'dhcp hostname set' - if [ -z "${LANG}" ]; then + if [ ! -z "${LANG}" ]; then # set default locale cat < $rootfs/etc/locale.gen ${LANG} UTF-8