forked from datahuborg/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
22 lines (18 loc) · 821 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- 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: "192.168.50.4"
config.vm.hostname = "datahub-local.mit.edu"
config.vm.provision "shell", path: "provisions/vagrant.sh"
config.vm.provision "shell", path: "provisions/docker/start-containers.sh", run: "always"
config.vm.provider "virtualbox" do |vm|
vm.name = "datahub-local"
vm.memory = 2048
#vm.cpus = 2
# Set the timesync threshold to 1 minute, instead of the default 20 minutes.
vm.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 60000]
end
end