summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rebischke <Chris.Rebischke@posteo.de>2017-07-05 17:13:39 +0200
committerGitHub <noreply@github.com>2017-07-05 17:13:39 +0200
commit24474750bbdd4afef5a0f2b304da1f481b2e842b (patch)
treefce0a27204e353327f5a13ebf459836c08fabbe7
parent0c7e69dbdce16cb8d992b8d54f0766e3fac5c973 (diff)
parent6bfece97083db999625fe81d78e6b4c404273dfe (diff)
downloadarch-boxes32-24474750bbdd4afef5a0f2b304da1f481b2e842b.tar.xz
Merge pull request #10 from rafaelsoaresbr/fix-locale
Fix the building proccess
-rw-r--r--http/install-chroot.sh1
-rw-r--r--provision/postinstall.sh1
2 files changed, 1 insertions, 1 deletions
diff --git a/http/install-chroot.sh b/http/install-chroot.sh
index 8cfb7d5..7e71282 100644
--- a/http/install-chroot.sh
+++ b/http/install-chroot.sh
@@ -6,6 +6,7 @@ set -x
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
sed -i -e 's/^#\(en_US.UTF-8\)/\1/' /etc/locale.gen
locale-gen
+echo 'LANG=en_US.UTF-8' > /etc/locale.conf
# setting vagrant user credentials
echo -e 'vagrant\nvagrant' | passwd
diff --git a/provision/postinstall.sh b/provision/postinstall.sh
index be094e4..58e05aa 100644
--- a/provision/postinstall.sh
+++ b/provision/postinstall.sh
@@ -5,7 +5,6 @@ set -x
# setting hostname, locales, etc
hostnamectl set-hostname "archlinux"
-localectl set-locale "LANG=en_US.UTF-8"
localectl set-keymap "us"
localectl set-x11-keymap "us"
timedatectl set-ntp true