-
Notifications
You must be signed in to change notification settings - Fork 15
/
Vagrantfile_arm64
39 lines (36 loc) · 1.13 KB
/
Vagrantfile_arm64
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
ENV['VAGRANT_NO_PARALLEL'] = 'yes'
Vagrant.configure("2") do |config|
config.vm.box = "starboard/ubuntu-arm64-20.04.5"
config.vm.box_version = "20221120.20.40.0"
config.vm.synced_folder ".", "/vagrant",
config.vm.box_check_update = false
config.vm.box_download_insecure = true
config.vm.define "worker" do |worker|
worker.vm.hostname = "worker"
worker.vm.network "private_network", ip: "192.168.100.10"
worker.vm.provider "vmware_fusion" do |vb|
vb.memory = 6144
vb.cpus = 2
vb.ssh_info_public = true
vb.gui = true
vb.linked_clone = false
vb.vmx["ethernet0.virtualdev"] = "vmxnet3"
end
end
config.vm.define "master" do |master|
master.vm.hostname = "master"
master.vm.network "private_network", ip: "192.168.100.11"
master.vm.provider "vmware_fusion" do |vb|
vb.cpus = 2
vb.memory = "2048"
vb.ssh_info_public = true
vb.gui = true
vb.linked_clone = false
vb.vmx["ethernet0.virtualdev"] = "vmxnet3"
end
end
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "Kontainerd.yml"
ansible.become = true
end
end