add config.vm.synced_folder ".", "/vagrant", disabled: true
This commit is contained in:
parent
ea6d6b025a
commit
58d89603f3
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -7,6 +7,7 @@ Vagrant.configure("2") do |config|
|
|||||||
vb.memory = "512"
|
vb.memory = "512"
|
||||||
vb.cpus = 1
|
vb.cpus = 1
|
||||||
end
|
end
|
||||||
|
vm1.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
vm1.vm.provision "shell", inline: <<-SHELL
|
vm1.vm.provision "shell", inline: <<-SHELL
|
||||||
yum install mc epel-release httpd net-tools -y
|
yum install mc epel-release httpd net-tools -y
|
||||||
yum update -y
|
yum update -y
|
||||||
@ -24,6 +25,7 @@ Vagrant.configure("2") do |config|
|
|||||||
vb.memory = "768"
|
vb.memory = "768"
|
||||||
vb.cpus = 1
|
vb.cpus = 1
|
||||||
end
|
end
|
||||||
|
vm2.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
vm2.vm.provision "shell", inline: <<-SHELL
|
vm2.vm.provision "shell", inline: <<-SHELL
|
||||||
dnf install mc epel-release httpd net-tools -y
|
dnf install mc epel-release httpd net-tools -y
|
||||||
dnf update -y
|
dnf update -y
|
||||||
@ -41,6 +43,7 @@ Vagrant.configure("2") do |config|
|
|||||||
vb.memory = "512"
|
vb.memory = "512"
|
||||||
vb.cpus = 1
|
vb.cpus = 1
|
||||||
end
|
end
|
||||||
|
vm3.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
vm3.vm.provision "shell", inline: <<-SHELL
|
vm3.vm.provision "shell", inline: <<-SHELL
|
||||||
apt-get update && apt-get upgrade -y
|
apt-get update && apt-get upgrade -y
|
||||||
apt-get install mc apache2 -y
|
apt-get install mc apache2 -y
|
||||||
@ -58,6 +61,7 @@ Vagrant.configure("2") do |config|
|
|||||||
vb.memory = "512"
|
vb.memory = "512"
|
||||||
vb.cpus = 1
|
vb.cpus = 1
|
||||||
end
|
end
|
||||||
|
vm4.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
vm4.vm.provision "shell", inline: <<-SHELL
|
vm4.vm.provision "shell", inline: <<-SHELL
|
||||||
apt-get update && apt-get upgrade -y
|
apt-get update && apt-get upgrade -y
|
||||||
apt-get clean
|
apt-get clean
|
||||||
@ -75,6 +79,7 @@ Vagrant.configure("2") do |config|
|
|||||||
vb.memory = "512"
|
vb.memory = "512"
|
||||||
vb.cpus = 1
|
vb.cpus = 1
|
||||||
end
|
end
|
||||||
|
zbxsrv.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
zbxsrv.vm.provision "shell", inline: <<-SHELL
|
zbxsrv.vm.provision "shell", inline: <<-SHELL
|
||||||
yum install mc epel-release net-tools -y
|
yum install mc epel-release net-tools -y
|
||||||
yum update -y
|
yum update -y
|
||||||
|
Loading…
Reference in New Issue
Block a user