forked from ArduPilot/ardupilot_wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
36 lines (30 loc) · 1.07 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# default to focal for bulding the Wiki:
config.vm.box = "ubuntu/focal"
# 18.04 LTS EOL April 2023
config.vm.define "bionic", autostart: false do |bionic|
bionic.vm.box = "ubuntu/bionic64"
bionic.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot_wiki (bionic)"
end
bionic.vm.provision "shell", path: "./scripts/initvagrant.sh"
bionic.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
end
# 20.04 LTS EOL April 2025
config.vm.define "focal", autostart: true do |focal|
focal.vm.box = "ubuntu/focal64"
focal.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot_wiki (focal)"
end
focal.vm.provision "shell", path: "./scripts/initvagrant.sh"
focal.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
end
end