feat: set en_US UTF-8 as locale

This commit is contained in:
Winston Smith 2022-10-12 11:51:19 +02:00
parent 81f5b019eb
commit caccc449a5
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ Vagrant.configure("2") do |config|
zabbix.vm.provision "shell", inline: <<-SHELL
apt update
apt-get install -y locales
sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen
locale-gen
echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
echo "export LANG=en_US.UTF-8" >> ~/.bashrc
echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc
apt install -y curl
curl -o /tmp/zabbix_6.0.deb https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4%2Bdebian11_all.deb
dpkg -i /tmp/zabbix_6.0.deb