Vagrant: add hirsute and hirsute-desktop

And tidy testing a little
This commit is contained in:
Peter Barker 2021-04-29 20:36:15 +10:00 committed by Peter Barker
parent 21d92780d2
commit 9e1f03c931
1 changed files with 21 additions and 3 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:
# rm -rf /vagrant/build
# dpkg -l | grep modemmanager # 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
@ -167,7 +168,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# eoan.vm.boot_timeout = 1200 # eoan.vm.boot_timeout = 1200
# end # end
# 20.04 LTS # 20.04 LTS EOL April 2025
config.vm.define "focal", autostart: false do |focal| config.vm.define "focal", autostart: false do |focal|
focal.vm.box = "ubuntu/focal64" focal.vm.box = "ubuntu/focal64"
focal.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" focal.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
@ -176,8 +177,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end end
focal.vm.boot_timeout = 1200 focal.vm.boot_timeout = 1200
end end
# 20.04 LTS
config.vm.define "focal-desktop", autostart: false do |focal| config.vm.define "focal-desktop", autostart: false do |focal|
focal.vm.box = "ubuntu/focal64" focal.vm.box = "ubuntu/focal64"
focal.vm.provision :shell, path: "Tools/vagrant/initvagrant-desktop.sh" focal.vm.provision :shell, path: "Tools/vagrant/initvagrant-desktop.sh"
@ -198,5 +197,24 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
groovy.vm.boot_timeout = 1200 groovy.vm.boot_timeout = 1200
end end
# 21.04
config.vm.define "hirsute", autostart: false do |hirsute|
hirsute.vm.box = "ubuntu/hirsute64"
hirsute.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
hirsute.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (hirsute)"
end
hirsute.vm.boot_timeout = 1200
end
config.vm.define "hirsute-desktop", autostart: false do |hirsute|
hirsute.vm.box = "ubuntu/hirsute64"
hirsute.vm.provision :shell, path: "Tools/vagrant/initvagrant-desktop.sh"
hirsute.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (hirsute-desktop)"
vb.gui = true
end
hirsute.vm.boot_timeout = 1200
end
end end