Tools: Vagrantfile: enable GUI on all boxes, update comments

This commit is contained in:
Buzz 2018-03-02 12:59:59 +10:00 committed by Peter Barker
parent 0f39c4da80
commit 3aefa6894c
1 changed files with 13 additions and 4 deletions

17
Vagrantfile vendored
View File

@ -38,7 +38,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# to update the submodules in order to build. Older versions of git # to update the submodules in order to build. Older versions of git
# use absolute paths for submodules which confuses things. # use absolute paths for submodules which confuses things.
# removing this line causes "A box must be specified." error: # removing this line causes "A box must be specified." error
# and this is the default box that will be booted if no name is specified
config.vm.box = "ubuntu/artful32" config.vm.box = "ubuntu/artful32"
# LTS, EOL April, 2019: # LTS, EOL April, 2019:
@ -47,15 +48,17 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision "trusty32", type: "shell", path: "Tools/vagrant/initvagrant.sh" config.vm.provision "trusty32", type: "shell", path: "Tools/vagrant/initvagrant.sh"
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (trusty32)" vb.name = "ArduPilot (trusty32)"
vb.gui = true
end end
end end
# LTS, EOL April, 2019: # 14.04.5 LTS, EOL April, 2019:
config.vm.define "trusty64", autostart: false do |trusty64| config.vm.define "trusty64", autostart: false do |trusty64|
config.vm.box = "ubuntu/trusty64" config.vm.box = "ubuntu/trusty64"
config.vm.provision "trusty64", type: "shell", path: "Tools/vagrant/initvagrant.sh" config.vm.provision "trusty64", type: "shell", path: "Tools/vagrant/initvagrant.sh"
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (trusty64)" vb.name = "ArduPilot (trusty64)"
vb.gui = true
end end
end end
@ -63,35 +66,41 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "xenial32", autostart: false do |xenial32| config.vm.define "xenial32", autostart: false do |xenial32|
config.vm.box = "ubuntu/xenial32" config.vm.box = "ubuntu/xenial32"
config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
config.vm.name = "ArduPilot (Xenial32)"
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (xenial32)" vb.name = "ArduPilot (xenial32)"
vb.gui = true
end end
end end
# NO LONGER AVAILABLE FOR DOWNLOAD, EOL January 2018
# EOL January 2018 # EOL January 2018
# Only kept around for those few dev's who have already got this image and continue to use it.
config.vm.define "zesty32", autostart: false do |zesty32| config.vm.define "zesty32", autostart: false do |zesty32|
config.vm.box = "ubuntu/zesty32" config.vm.box = "ubuntu/zesty32"
config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (zesty32)" vb.name = "ArduPilot (zesty32)"
vb.gui = true
end end
end end
# EOL July 2018 # 17.10, EOL July 2018
config.vm.define "artful32", primary: true do |artful32| config.vm.define "artful32", primary: true do |artful32|
config.vm.box = "ubuntu/artful32" config.vm.box = "ubuntu/artful32"
config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (artful32)" vb.name = "ArduPilot (artful32)"
vb.gui = true
end end
end end
# 18.04 LTS , bleeding edge.
config.vm.define "bionic32", autostart: false do |bionic32| config.vm.define "bionic32", autostart: false do |bionic32|
config.vm.box = "ubuntu/bionic32" config.vm.box = "ubuntu/bionic32"
config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh" config.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (bionic32)" vb.name = "ArduPilot (bionic32)"
vb.gui = true
end end
end end