diff --git a/TESTING.asciidoc b/TESTING.asciidoc index f0051dea17d..2a0ea68e995 100644 --- a/TESTING.asciidoc +++ b/TESTING.asciidoc @@ -374,6 +374,7 @@ These are the linux flavors supported, all of which we provide images for * debian-9 aka stretch, the current debian stable distribution * centos-6 * centos-7 +* rhel-8 * fedora-28 * fedora-29 * oel-6 aka Oracle Enterprise Linux 6 diff --git a/Vagrantfile b/Vagrantfile index 4fbf1beeb04..d5364348596 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -127,6 +127,12 @@ Vagrant.configure(2) do |config| sles_common config, box end end + 'rhel-8'.tap do |box| + config.vm.define box, define_opts do |config| + config.vm.box = 'elastic/rhel-8-x86_64' + rpm_common config, box + end + end windows_2012r2_box = ENV['VAGRANT_WINDOWS_2012R2_BOX'] if windows_2012r2_box && windows_2012r2_box.empty? == false diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy index 935c3dd39ff..093733fe844 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy @@ -30,6 +30,7 @@ class VagrantTestPlugin implements Plugin { 'oel-6', 'oel-7', 'opensuse-42', + 'rhel-8', 'sles-12', 'ubuntu-1604', 'ubuntu-1804'