summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2020-03-25 14:36:41 +0100
committerMichael Adam <obnox@samba.org>2020-03-25 22:32:23 +0100
commit5f51cb162e80d0f7b3678287ce1477c0ce233a8f (patch)
treecbd80e7aac5e62c299c51085254985a5bbe3d3d3
parent2aa4c5b1e5f13d85ffe0b135d956b2704f132964 (diff)
downloadsamba-integration-5f51cb162e80d0f7b3678287ce1477c0ce233a8f.tar.gz
samba-integration-5f51cb162e80d0f7b3678287ce1477c0ce233a8f.tar.xz
samba-integration-5f51cb162e80d0f7b3678287ce1477c0ce233a8f.zip
Give the setup machine an IP/IF on the cluster net
This is needed to unblock gluster-ansible in the centos-ci. Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--vagrant/Vagrantfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index 57bc6ac..9e17c52 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -9,6 +9,8 @@ NODE_CPUS = 2
NETWORK_BASE = "192.168.122"
#LIBVIRT_STORAGE_POOL = "data"
+SETUP_IP = "#{NETWORK_BASE}.200"
+
Vagrant.configure("2") do |config|
config.ssh.insert_key = false
config.vm.provider :libvirt do |v,override|
@@ -59,6 +61,7 @@ Vagrant.configure("2") do |config|
# We will runn all our setup playbooks from there.
config.vm.define "setup" do |setup|
setup.vm.hostname = "setup"
+ setup.vm.network :private_network, ip: "#{SETUP_IP}"
# Run a no-op playbook to create the inventory file.
# Based on that, one can run ansible without vagrant.
setup.vm.provision "no-op", type:'ansible' do |ansible|