From dfa2c96b6aa2d87f32393a8470220fa8306d04b6 Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Wed, 12 Oct 2022 14:00:22 +0200 Subject: [PATCH] fix: locale now correctly set as en_US.UTF8 --- zabbix-debian-playground/Vagrantfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zabbix-debian-playground/Vagrantfile b/zabbix-debian-playground/Vagrantfile index ba71b5a..9fcbde6 100644 --- a/zabbix-debian-playground/Vagrantfile +++ b/zabbix-debian-playground/Vagrantfile @@ -15,7 +15,7 @@ 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 + sed -i 's/^# *\(en_US.UTF-8 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 @@ -36,6 +36,8 @@ Vagrant.configure("2") do |config| sed -i 's/#//g' /etc/zabbix/nginx.conf sed -i 's/example.com/zabbix.local/g' /etc/zabbix/nginx.conf systemctl restart zabbix-server zabbix-agent nginx php7.4-fpm + systemctl enable zabbix-server zabbix-agent nginx php7.4-fpm + reboot SHELL end