-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathVagrantfile
23 lines (21 loc) · 852 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "laptop"
config.disksize.size = '25GB'
config.vm.define :laptop do |vm|
end
config.vm.box_check_update = false
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "8192"
vb.cpus = "4"
vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]
vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "ubuntu-bionic-18.04-cloudimg-console.log") ]
end
config.vm.provision "shell", inline: "microk8s.status --wait-ready"
config.vm.provision "shell", inline: "sleep 5; microk8s.status --wait-ready"
config.vm.provision "shell", inline: "iptables -P FORWARD ACCEPT"
config.vm.provision "shell", inline: "microk8s.inspect"
end