1
1

memory 1024 -> 512

This commit is contained in:
Márkus Sándor 2023-07-30 21:26:21 +02:00
parent f482ff085d
commit 159905623d

24
Vagrantfile vendored
View File

@ -4,7 +4,7 @@ Vagrant.configure("2") do |config|
vm1.vm.network "private_network", ip: "192.168.56.2"
vm1.vm.box = "centos/7"
vm1.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.memory = "512"
vb.cpus = 1
end
vm1.vm.provision "shell", inline: <<-SHELL
@ -20,7 +20,7 @@ Vagrant.configure("2") do |config|
vm2.vm.network "private_network", ip: "192.168.56.3"
vm2.vm.box = "almalinux/8"
vm2.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.memory = "512"
vb.cpus = 1
end
vm2.vm.provision "shell", inline: <<-SHELL
@ -36,7 +36,7 @@ Vagrant.configure("2") do |config|
vm3.vm.network "private_network", ip: "192.168.56.4"
vm3.vm.box = "ubuntu/jammy64"
vm3.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.memory = "512"
vb.cpus = 1
end
vm3.vm.provision "shell", inline: <<-SHELL
@ -52,7 +52,7 @@ Vagrant.configure("2") do |config|
vm4.vm.network "private_network", ip: "192.168.56.5"
vm4.vm.box = "debian/bullseye64"
vm4.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.memory = "512"
vb.cpus = 1
end
vm4.vm.provision "shell", inline: <<-SHELL
@ -64,4 +64,20 @@ Vagrant.configure("2") do |config|
SHELL
end
config.vm.define "zbxsrv" do |zbxsrv|
zbxsrv.vm.network "private_network", ip: "192.168.56.6"
zbxsrv.vm.box = "centos/7"
zbxsrv.vm.provider "virtualbox" do |vb|
vb.memory = "512"
vb.cpus = 1
end
zbxsrv.vm.provision "shell", inline: <<-SHELL
yum install mc epel-release httpd net-tools -y
yum update -y
systemctl enable --now httpd
echo "zbxsrv" > /etc/hostname
hostname -F /etc/hostname
SHELL
end
end