Add Ubuntu-16.04 to Vagrant VMs (#20425)

This commit is contained in:
Tanguy Leroux 2016-09-12 17:58:32 +02:00
parent 262a5ee311
commit 567093cf78
3 changed files with 10 additions and 1 deletions

View File

@ -364,6 +364,7 @@ These are the linux flavors the Vagrantfile currently supports:
* ubuntu-1204 aka precise
* ubuntu-1404 aka trusty
* ubuntu-1504 aka vivid
* ubuntu-1604 aka xenial
* debian-8 aka jessie, the current debian stable distribution
* centos-6
* centos-7

7
Vagrantfile vendored
View File

@ -37,6 +37,13 @@ Vagrant.configure(2) do |config|
[ -f /usr/share/java/jayatanaag.jar ] || install jayatana
SHELL
end
config.vm.define "ubuntu-1604" do |config|
config.vm.box = "elastic/ubuntu-16.04-x86_64"
ubuntu_common config, extra: <<-SHELL
# Install Jayatana so we can work around it being present.
[ -f /usr/share/java/jayatanaag.jar ] || install jayatana
SHELL
end
# Wheezy's backports don't contain Openjdk 8 and the backflips required to
# get the sun jdk on there just aren't worth it. We have jessie for testing
# debian and it works fine.

View File

@ -37,7 +37,8 @@ List<String> availableBoxes = [
'sles-12',
'ubuntu-1204',
'ubuntu-1404',
'ubuntu-1504'
'ubuntu-1504',
'ubuntu-1604'
]
String vagrantBoxes = getProperties().get('vagrant.boxes', 'sample')