1
1

add timezonectl

This commit is contained in:
Márkus Sándor 2023-08-01 10:00:08 +02:00
parent 58d89603f3
commit 9873b23ab2

5
Vagrantfile vendored
View File

@ -15,6 +15,7 @@ Vagrant.configure("2") do |config|
echo "vm1" > /etc/hostname echo "vm1" > /etc/hostname
hostname -F /etc/hostname hostname -F /etc/hostname
echo "192.168.56.2 vm1" >> /etc/hosts echo "192.168.56.2 vm1" >> /etc/hosts
timedatectl set-timezone Europe/Budapest
SHELL SHELL
end end
@ -33,6 +34,7 @@ Vagrant.configure("2") do |config|
echo "vm2" > /etc/hostname echo "vm2" > /etc/hostname
hostname -F /etc/hostname hostname -F /etc/hostname
echo "192.168.56.3 vm2" >> /etc/hosts echo "192.168.56.3 vm2" >> /etc/hosts
timedatectl set-timezone Europe/Budapest
SHELL SHELL
end end
@ -51,6 +53,7 @@ Vagrant.configure("2") do |config|
echo "vm3" > /etc/hostname echo "vm3" > /etc/hostname
hostname -F /etc/hostname hostname -F /etc/hostname
echo "192.168.56.4 vm3" >> /etc/hosts echo "192.168.56.4 vm3" >> /etc/hosts
timedatectl set-timezone Europe/Budapest
SHELL SHELL
end end
@ -69,6 +72,7 @@ Vagrant.configure("2") do |config|
echo "vm4" > /etc/hostname echo "vm4" > /etc/hostname
hostname -F /etc/hostname hostname -F /etc/hostname
echo "192.168.56.5 vm4" >> /etc/hosts echo "192.168.56.5 vm4" >> /etc/hosts
timedatectl set-timezone Europe/Budapest
SHELL SHELL
end end
@ -86,6 +90,7 @@ Vagrant.configure("2") do |config|
echo "zbxsrv" > /etc/hostname echo "zbxsrv" > /etc/hostname
hostname -F /etc/hostname hostname -F /etc/hostname
echo "192.168.56.6 zbxsrv" >> /etc/hosts echo "192.168.56.6 zbxsrv" >> /etc/hosts
timedatectl set-timezone Europe/Budapest
SHELL SHELL
end end