forked from snowplow/iglu-central
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
23 lines (18 loc) · 666 Bytes
/
Vagrantfile
File metadata and controls
23 lines (18 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.ssh.forward_agent = true
config.vm.provider :virtualbox do |vb|
vb.name = Dir.pwd().split("/")[-1] + "-" + Time.now.to_f.to_i.to_s
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize [ "guestproperty", "set", :id, "--timesync-threshold", 10000 ]
# We don't need much memory for working with schemas
vb.memory = 512
end
# Requires Vagrant 1.7.0+
config.push.define "binary", strategy: "local-exec" do |push|
push.script = "vagrant/push.bash"
end
config.vm.provision :shell do |sh|
sh.path = "vagrant/up.bash"
end
end