-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
54 lines (45 loc) · 1.35 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
box = "generic/ubuntu1804"
Vagrant.configure("2") do |config|
config.vm.define "web" do |web|
web.vm.box = box
web.vm.hostname = "web"
web.vm.provider "virtualbox" do |v|
v.name = "web"
v.memory = 1024
v.cpus = 1
## change vga controller default(VBoxVGA) to VMSVGA
## virtualbox says that "Invalid settings detected"
v.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
end
end
config.vm.define "grafana" do |grafana|
grafana.vm.box = box
grafana.vm.hostname = "grafana"
grafana.vm.provider "virtualbox" do |v|
v.name = "grafana"
v.memory = 1024
v.cpus = 1
v.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
end
end
config.vm.define "influxdb01" do |influxdb01|
influxdb01.vm.box = box
influxdb01.vm.hostname = "influxdb01"
influxdb01.vm.provider "virtualbox" do |v|
v.name = "influxdb01"
v.memory = 2048
v.cpus = 2
v.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
end
end
config.vm.define "influxdb02" do |influxdb02|
influxdb02.vm.box = box
influxdb02.vm.hostname = "influxdb02"
influxdb02.vm.provider "virtualbox" do |v|
v.name = "influxdb02"
v.memory = 2048
v.cpus = 2
v.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"]
end
end
end