4 export DEBIAN_FRONTEND=noninteractive
83 # this file doesn't exist on ubuntu1404 even locales installed
84 if [ -f /etc/locale.gen ]; then
85 sed -i '/^#\s*en_US.UTF-8 UTF-8/s/^#\s*//' /etc/locale.gen
90 # update /etc/default/locale
91 update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
94 echo LC_ALL="en_US.UTF-8" >> /etc/environment
95 echo LANG="en_US.UTF-8" >> /etc/environment