From 9e1f03c931e8993ad330b66f7056b04e8363d0f1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 29 Apr 2021 20:36:15 +1000 Subject: [PATCH] Vagrant: add hirsute and hirsute-desktop And tidy testing a little --- Vagrantfile | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 8d97988d73..a3f23b11e6 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -2,6 +2,7 @@ # vi: set ft=ruby : # Testing an ArduPilot VM: +# rm -rf /vagrant/build # dpkg -l | grep modemmanager # sim_vehicle.py --map --console # in the starting directory should start a Copter simulation # sim_vehicle.py --debug --gdb @@ -167,7 +168,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # eoan.vm.boot_timeout = 1200 # end - # 20.04 LTS + # 20.04 LTS EOL April 2025 config.vm.define "focal", autostart: false do |focal| focal.vm.box = "ubuntu/focal64" focal.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" @@ -176,8 +177,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end focal.vm.boot_timeout = 1200 end - - # 20.04 LTS config.vm.define "focal-desktop", autostart: false do |focal| focal.vm.box = "ubuntu/focal64" 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 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