kibana/test/package/Vagrantfile
Kibana Machine f40d973f8b
[package testing] Update networking profile to account for virtualbox update (#127298) (#127322)
With a recent virtualbox update, we're getting failures in CI with:

> The IP address configured for the host-only network is not within the
> allowed ranges. Please update the address used to be within the allowed
> ranges and run the command again.

This updates the IP range used to be compatible.

(cherry picked from commit ab109db73f)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-03-09 12:21:05 -07:00

27 lines
800 B
Ruby

Vagrant.configure("2") do |config|
config.vm.synced_folder '../../target/', '/packages'
config.vm.define "deb" do |deb|
deb.vm.box = 'elastic/debian-9-x86_64'
deb.vm.provision "ansible" do |ansible|
ansible.playbook = "deb.yml"
end
deb.vm.network "private_network", ip: "192.168.56.5"
end
config.vm.define "rpm" do |rpm|
rpm.vm.box = 'elastic/centos-7-x86_64'
rpm.vm.provision "ansible" do |ansible|
ansible.playbook = "rpm.yml"
end
rpm.vm.network "private_network", ip: "192.168.56.6"
end
config.vm.define "docker" do |docker|
docker.vm.box = 'elastic/ubuntu-18.04-x86_64'
docker.vm.provision "ansible" do |ansible|
ansible.playbook = "docker.yml"
end
docker.vm.network "private_network", ip: "192.168.56.7"
end
end