-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathVagrantfile
More file actions
39 lines (31 loc) · 1.05 KB
/
Vagrantfile
File metadata and controls
39 lines (31 loc) · 1.05 KB
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# vagrant up jammy
# vagrant ssh jammy
# # on machine:
# cd build_wiki/ardupilot_wiki/
# ./update.sh
# rsync -aPH --delete /var/sites/wiki/web/ /vagrant/web
# on desktop:
# firefox web/copter/index.html
# rm -rf web
# 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 jammy for building the Wiki:
config.vm.box = "ubuntu/jammy"
# https://releases.ubuntu.com
# https://ubuntu.com/about/release-cycle
# https://en.wikipedia.org/wiki/Ubuntu_version_history#Table_of_versions
# 22.04 LTS Standard Support EOL May 2027
config.vm.define "jammy", autostart: true do |jammy|
jammy.vm.box = "ubuntu/jammy64"
jammy.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot_wiki (jammy)"
end
jammy.vm.provision "shell", path: "./scripts/initvagrant.sh"
jammy.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "20480"]
end
end
end