diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2020-03-26 17:41:11 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2020-04-28 08:11:24 +0200 |
commit | 3b758f3406244f0fa5d14ccfbaafea7234860b46 (patch) | |
tree | 97822168dd189902180201ffe19e50cbb6e56f6b | |
parent | d9e4ac474b164ea75a886fc03fe7905e31cd912e (diff) | |
download | samba-integration-3b758f3406244f0fa5d14ccfbaafea7234860b46.tar.gz samba-integration-3b758f3406244f0fa5d14ccfbaafea7234860b46.tar.xz samba-integration-3b758f3406244f0fa5d14ccfbaafea7234860b46.zip |
Create new VM client1
This vm will be used to run the client tests on the cluster.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
-rw-r--r-- | vagrant/Vagrantfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index e830110..cca772f 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -11,6 +11,7 @@ PUBLIC_NETWORK_BASE = "192.168.123" #LIBVIRT_STORAGE_POOL = "data" SETUP_IP = "#{PRIVATE_NETWORK_BASE}.200" +CLIENT_IP = "#{PUBLIC_NETWORK_BASE}.5" Vagrant.configure("2") do |config| config.ssh.insert_key = false @@ -68,6 +69,14 @@ Vagrant.configure("2") do |config| end end + + # Client vm: + # This VM will connect to the cluster over the public ip addresses + config.vm.define "client1" do |setup| + setup.vm.hostname = "client1" + setup.vm.network :private_network, ip: "#{CLIENT_IP}" + end + # setup vm: # We will runn all our setup playbooks from there. config.vm.define "setup" do |setup| @@ -79,8 +88,10 @@ Vagrant.configure("2") do |config| ansible.playbook = "no-op-playbook.yml" ansible.groups = { "admin" => [ "setup" ], + "clients" => [ "client1" ], "cluster" => (0..NODES-1).map { |i| "storage#{i}" } } end end + end |