diff options
author | 2017-07-06 15:35:12 +0200 | |
---|---|---|
committer | 2017-07-06 15:35:12 +0200 | |
commit | 19dd4e461d1239754bd1a82e30f2a770c99a7f90 (patch) | |
tree | 28c57a5802c805dbbe10e760dff159e499fc9622 /moonv4/tests/21_slave_scalability/Vagrantfile | |
parent | 53a64609bd5b3f02a3bdf7d85030db8f2028cada (diff) |
Add test files for the evaluation
Change-Id: Ieceeef68ce701b913aaccd900218fbee896f48df
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 |