From 5866c865c0487cc3584f9e199f43bfd1672bd668 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 4 Jun 2020 10:35:56 +1000 Subject: [PATCH] Vagrantfile: add focal --- Vagrantfile | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index de043d5076..6d595374bb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -2,6 +2,7 @@ # vi: set ft=ruby : # 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 --debug --gdb # sim_vehicle.py --valgrind @@ -137,15 +138,34 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end end - # 19.04 bleeding edge + # 19.04 config.vm.define "disco64", autostart: false do |disco64| disco64.vm.box = "ubuntu/disco64" disco64.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" disco64.vm.provider "virtualbox" do |vb| vb.name = "ArduPilot (disco64)" - vb.gui = true 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