-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathVagrantfile
28 lines (20 loc) · 1.19 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
# 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 = "fcrepo/fcrepo-base"
config.vm.network :forwarded_port, guest: 8080, host: 8080 # Tomcat
config.vm.network :forwarded_port, guest: 8181, host: 8181 # Hawtio
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 "fedora", type: "shell", path: "./install_scripts/fedora.sh", args: shared_dir
config.vm.provision "backup_restore", type: "shell", path: "./install_scripts/backup_restore.sh", args: shared_dir
config.vm.provision "fedora_camel_toolbox", type: "shell", path: "./install_scripts/fedora_camel_toolbox.sh", args: shared_dir
config.vm.provision "hawtio", type: "shell", path: "./install_scripts/hawtio.sh", args: shared_dir
end