-
Notifications
You must be signed in to change notification settings - Fork 426
/
Copy pathVagrantfile
38 lines (29 loc) · 1.15 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.box = "bento/freebsd-14.2"
# needs more disk space
# have to use this for it to work:
# export VAGRANT_EXPERIMENTAL="disks"
config.vm.disk :disk, size: "12GB", primary: true
config.vm.provision "shell" do |s|
s.env = { http_proxy:ENV['http_proxy'], https_proxy:ENV['https_proxy'] }
s.path = "../../provision-scripts/proxy-setup.sh"
end
config.vm.provision "shell",
path: "../../provision-scripts/freebsd-pkg-deps.sh"
config.vm.provision "shell",
path: "../../provision-scripts/freebsd-pkg-llvm.sh"
config.vm.provision "shell", privileged: false, run: "always",
path: "../../provision-scripts/git-clone-chapel.sh"
config.vm.provision "shell", privileged: false,
path: "../../provision-scripts/gmake-chapel-quick.sh"
config.vm.provider "virtualbox" do |vb|
vb.memory = 4096
#vb.cpus = 2
end
end