-
Notifications
You must be signed in to change notification settings - Fork 15
/
Vagrantfile
34 lines (30 loc) · 967 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "flatcar-stable"
config.vm.box_url = "https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_vagrant.json"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--paravirtprovider", "kvm"]
end
config.vm.define "worker-1" do |machine|
machine.vm.network "private_network", ip: "192.168.1.101"
machine.vm.provider "virtualbox" do |vb|
vb.memory = "8192"
vb.cpus = 4
end
end
config.vm.define "worker-2" do |machine|
machine.vm.network "private_network", ip: "192.168.1.102"
machine.vm.provider "virtualbox" do |vb|
vb.memory = "8192"
vb.cpus = 4
end
end
config.vm.define "worker-3" do |machine|
machine.vm.network "private_network", ip: "192.168.1.103"
machine.vm.provider "virtualbox" do |vb|
vb.memory = "8192"
vb.cpus = 4
end
end
end