fix: locale now correctly set as en_US.UTF8
This commit is contained in:
parent
caccc449a5
commit
dfa2c96b6a
4
zabbix-debian-playground/Vagrantfile
vendored
4
zabbix-debian-playground/Vagrantfile
vendored
@ -15,7 +15,7 @@ Vagrant.configure("2") do |config|
|
|||||||
zabbix.vm.provision "shell", inline: <<-SHELL
|
zabbix.vm.provision "shell", inline: <<-SHELL
|
||||||
apt update
|
apt update
|
||||||
apt-get install -y locales
|
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
|
locale-gen
|
||||||
echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
|
echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
|
||||||
echo "export LANG=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/#//g' /etc/zabbix/nginx.conf
|
||||||
sed -i 's/example.com/zabbix.local/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 restart zabbix-server zabbix-agent nginx php7.4-fpm
|
||||||
|
systemctl enable zabbix-server zabbix-agent nginx php7.4-fpm
|
||||||
|
reboot
|
||||||
SHELL
|
SHELL
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user