forked from blue-yonder/mesos-threshold-oversubscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
35 lines (28 loc) · 1.04 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
vbox_version = `VBoxManage --version`
Vagrant.configure("2") do |config|
config.vm.box = "debian/jessie64"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
if vbox_version.to_f >= 5.0
vb.customize ["modifyvm", :id, "--paravirtprovider", "kvm"]
end
end
config.vm.synced_folder ".", "/vagrant", type: "virtualbox"
config.vm.provision "shell", inline: <<-SHELL
apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF
echo "deb http://repos.mesosphere.com/debian jessie main" > /etc/apt/sources.list.d/mesosphere.list
apt-get update
apt-get install -y \
cmake \
g++ \
g++-4.9 \
libprotobuf-dev \
libboost-dev \
libgoogle-glog-dev \
libcurl4-nss-dev \
libgtest-dev \
mesos
SHELL
end