From caccc449a5d3bc1d468c5b3f35c2bf6512691371 Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Wed, 12 Oct 2022 11:51:19 +0200 Subject: [PATCH] feat: set en_US UTF-8 as locale --- zabbix-debian-playground/Vagrantfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zabbix-debian-playground/Vagrantfile b/zabbix-debian-playground/Vagrantfile index 41f49e8..ba71b5a 100644 --- a/zabbix-debian-playground/Vagrantfile +++ b/zabbix-debian-playground/Vagrantfile @@ -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