diff options
Diffstat (limited to 'moonv4/tests/21_slave_scalability/Vagrantfile')
-rw-r--r-- | moonv4/tests/21_slave_scalability/Vagrantfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/moonv4/tests/21_slave_scalability/Vagrantfile b/moonv4/tests/21_slave_scalability/Vagrantfile new file mode 100644 index 00000000..dee19395 --- /dev/null +++ b/moonv4/tests/21_slave_scalability/Vagrantfile @@ -0,0 +1,32 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "ubuntu/xenial64" + + # Create a private network, which allows host-only access to the machine + # using a specific IP. + # config.vm.network "private_network", ip: "192.168.33.10" + + config.vm.provider "virtualbox" do |vb| + # # Display the VirtualBox GUI when booting the machine + # vb.gui = true + # + # # Customize the amount of memory on the VM: + vb.memory = "4096" + vb.cpus = "1" + end + + config.vm.define "master" do |master| + master.vm.box = "ubuntu/xenial64" + master.vm.provision "shell", path: "master.sh" + master.vm.network "private_network", ip: "192.168.33.10", virtualbox__intnet: "internal" + end + + config.vm.define "slave1" do |slave1| + slave1.vm.box = "ubuntu/xenial64" + slave1.vm.provision "shell", path: "slave.sh slave1" + slave1.vm.network "private_network", ip: "192.168.33.11", virtualbox__intnet: "internal" + end + +end |