Browse Source

Merge pull request #3922 from ThomasWaldmann/arch-locale

vagrant: arch64 VM: generate and set en_US.UTF-8 locale
TW 7 years ago
parent
commit
f4aae9db5c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Vagrantfile

+ 3 - 0
Vagrantfile

@@ -28,6 +28,9 @@ end
 
 def packages_arch
   return <<-EOF
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
+    locale-gen
+    localectl set-locale LANG=en_US.UTF-8
     chown vagrant.vagrant /vagrant
     pacman --sync --noconfirm python-virtualenv python-pip
   EOF