-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
33 lines (28 loc) · 1.05 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Vagrant.configure("2") do |config|
# config.vm.define "master" do |master|
# master.vm.box = "bento/ubuntu-18.04"
# master.vm.hostname = "master"
# master.vm.network "private_network", ip: "172.16.1.10"
# master.vm.provider :virtualbox do |vb|
# vb.customize ["modifyvm", :id, "--memory", 1024]
# vb.customize ["modifyvm", :id, "--cpus", 2]
# end
# end
# config.vm.define "slave" do |slave|
# slave.vm.box = "bento/ubuntu-18.04"
# slave.vm.hostname = "slave"
# slave.vm.network "private_network", ip: "172.16.1.11"
# slave.vm.provider :virtualbox do |vb|
# vb.customize ["modifyvm", :id, "--memory", 1024]
# vb.customize ["modifyvm", :id, "--cpus", 2]
# end
# end
# end
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-18.04"
config.vm.network "private_network", ip: "172.16.1.11"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--cpus", "2"]
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
end