Vagrantfile: add focal

This commit is contained in:
Peter Barker 2020-06-04 10:35:56 +10:00 committed by Peter Barker
parent 7390846851
commit 5866c865c0
1 changed files with 22 additions and 2 deletions

24
Vagrantfile vendored
View File

@ -2,6 +2,7 @@
# vi: set ft=ruby : # vi: set ft=ruby :
# Testing an ArduPilot VM: # Testing an ArduPilot VM:
# dpkg -l | grep modemmanager
# sim_vehicle.py --map --console # in the starting directory should start a Copter simulation # sim_vehicle.py --map --console # in the starting directory should start a Copter simulation
# sim_vehicle.py --debug --gdb # sim_vehicle.py --debug --gdb
# sim_vehicle.py --valgrind # sim_vehicle.py --valgrind
@ -137,15 +138,34 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end end
end end
# 19.04 bleeding edge # 19.04
config.vm.define "disco64", autostart: false do |disco64| config.vm.define "disco64", autostart: false do |disco64|
disco64.vm.box = "ubuntu/disco64" disco64.vm.box = "ubuntu/disco64"
disco64.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" disco64.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
disco64.vm.provider "virtualbox" do |vb| disco64.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (disco64)" vb.name = "ArduPilot (disco64)"
vb.gui = true
end end
end end
# 19.10 - broken; fails to use NamedTemporaryFile to create file for gdb
# config.vm.define "eoan", autostart: false do |eoan|
# eoan.vm.box = "ubuntu/eoan64"
# eoan.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
# eoan.vm.provider "virtualbox" do |vb|
# vb.name = "ArduPilot (eoan)"
# end
# eoan.vm.boot_timeout = 1200
# end
# 20.04 LTS
config.vm.define "focal", autostart: false do |focal|
focal.vm.box = "ubuntu/focal64"
focal.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
focal.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (focal)"
end
focal.vm.boot_timeout = 1200
end
end end