-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
43 lines (37 loc) · 1.56 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
36
37
38
39
40
41
42
43
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.define :freebsd do |freebsd_config|
freebsd_config.vm.box = "freebsd91-64"
freebsd_config.vm.box_url = "https://dl.dropbox.com/s/hgqtafmbgyd4tu9/freebsd-91-64.box"
#freebsd_config.vm.network :hostonly, "10.0.2.23"
end
config.vm.define :openbsd do |openbsd_config|
openbsd_config.vm.box = "openbsd52-64"
openbsd_config.vm.box_url = "https://dl.dropbox.com/s/5ietqc3thdholuh/openbsd-52-64.box"
openbsd_config.vm.share_folder "postgresql", "/usr/local/src/postgresql", ".", :nfs => true
#openbsd_config.vm.network :hostonly, "10.0.2.22"
end
config.vm.define :precise do |precise_config|
precise_config.vm.box = "pgprecise"
precise_config.vm.box_url = "http://files.vagrantup.com/precise64.box"
precise_config.vm.provision :shell, :path => "shell/precise.sh"
precise_config.vm.provision :shell, :path => "shell/precise.sh"
precise_config.vm.network :hostonly, "10.0.2.21"
pgvm_postgresql_src = ENV['PGVM_POSTGRESQL_SRC']
if pgvm_postgresql_src
precise_config.vm.share_folder "postgresql", "/usr/local/src/postgresql",
pgvm_postgresql_src
end
pgvm_pg_top_src = ENV['PGVM_PG_TOP_SRC']
if pgvm_pg_top_src
precise_config.vm.share_folder "pg_top", "/usr/local/src/pg_top",
pgvm_pg_top_src
end
pgvm_pg_proctab_src = ENV['PGVM_PG_PROCTAB_SRC']
if pgvm_pg_proctab_src
precise_config.vm.share_folder "pg_proctab", "/usr/local/src/pg_proctab",
pgvm_pg_proctab_src
end
end
end