-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
32 lines (25 loc) · 857 Bytes
/
Vagrantfile
File metadata and controls
32 lines (25 loc) · 857 Bytes
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
# -*- 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.provider "virtualbox" do |vb|
vb.name = "h5pybox"
vb.customize ["modifyvm", :id, "--memory", 2048]
end
config.vm.network "private_network", type: "dhcp"
config.ssh.forward_agent = true
config.vm.synced_folder "src/", "/home/vagrant/src/"
# speed up provisioning by enabling caching
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
end
config.vm.synced_folder "salt/roots/", "/srv/"
config.vm.provision :salt do |salt|
salt.minion_config = "salt/minion"
salt.run_highstate = true
salt.verbose = true
salt.colorize = true
end
end