add timezonectl
This commit is contained in:
parent
58d89603f3
commit
9873b23ab2
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -15,6 +15,7 @@ Vagrant.configure("2") do |config|
|
||||
echo "vm1" > /etc/hostname
|
||||
hostname -F /etc/hostname
|
||||
echo "192.168.56.2 vm1" >> /etc/hosts
|
||||
timedatectl set-timezone Europe/Budapest
|
||||
SHELL
|
||||
end
|
||||
|
||||
@ -33,6 +34,7 @@ Vagrant.configure("2") do |config|
|
||||
echo "vm2" > /etc/hostname
|
||||
hostname -F /etc/hostname
|
||||
echo "192.168.56.3 vm2" >> /etc/hosts
|
||||
timedatectl set-timezone Europe/Budapest
|
||||
SHELL
|
||||
end
|
||||
|
||||
@ -51,6 +53,7 @@ Vagrant.configure("2") do |config|
|
||||
echo "vm3" > /etc/hostname
|
||||
hostname -F /etc/hostname
|
||||
echo "192.168.56.4 vm3" >> /etc/hosts
|
||||
timedatectl set-timezone Europe/Budapest
|
||||
SHELL
|
||||
end
|
||||
|
||||
@ -69,6 +72,7 @@ Vagrant.configure("2") do |config|
|
||||
echo "vm4" > /etc/hostname
|
||||
hostname -F /etc/hostname
|
||||
echo "192.168.56.5 vm4" >> /etc/hosts
|
||||
timedatectl set-timezone Europe/Budapest
|
||||
SHELL
|
||||
end
|
||||
|
||||
@ -86,6 +90,7 @@ Vagrant.configure("2") do |config|
|
||||
echo "zbxsrv" > /etc/hostname
|
||||
hostname -F /etc/hostname
|
||||
echo "192.168.56.6 zbxsrv" >> /etc/hosts
|
||||
timedatectl set-timezone Europe/Budapest
|
||||
SHELL
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user