-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVagrantfile
31 lines (23 loc) · 1.35 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
# 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|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
config.vm.hostname = "fedora4"
config.vm.box = "ubuntu/trusty64"
# Below needed for Vagrant versions < 1.6.x
# config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :forwarded_port, guest: 8080, host: 8080 # Tomcat
config.vm.network :forwarded_port, guest: 9080, host: 9080 # Fixity and Reindexing
config.vm.provider "virtualbox" do |v|
v.memory = 2048
end
shared_dir = "/vagrant"
config.vm.provision "shell", path: "./install_scripts/bootstrap.sh", args: shared_dir
config.vm.provision "shell", path: "./install_scripts/java.sh", args: shared_dir
config.vm.provision "shell", path: "./install_scripts/tomcat7.sh", args: shared_dir
config.vm.provision "shell", path: "./install_scripts/solr.sh", args: shared_dir
config.vm.provision "shell", path: "./install_scripts/fuseki.sh", args: shared_dir
config.vm.provision "shell", path: "./install_scripts/karaf.sh", args: shared_dir
end