-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
19 lines (17 loc) · 800 Bytes
/
Vagrantfile
File metadata and controls
19 lines (17 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
# config.vm.network :private_network, ip: "10.141.141.10"
# Setting memory and CPU
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, '--cpus', "2"]
end
# old master flag: --master=168.61.210.76:5050"
# config.vm.provision :shell, path: "bootstrap.sh"
config.vm.provision :shell, path: "run.sh", args: ENV['SHELL_ARGS']
# config.vm.provision :shell, inline: "sudo /home/vagrant/mesos-0.20.0/build/bin/mesos-slave.sh --master=splinter2.cloudapp.net"
end