forked from ROGUE-JCTD/geoshape-vagrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (20 loc) · 1002 Bytes
/
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
# -*- 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 = "bento/centos-6.7"
config.vm.box = "vagrant-geoshape"
config.vm.hostname = "geoshape"
config.vm.network "forwarded_port", guest: 80, host: 8110
config.vm.provision :shell, path: "scripts/bootstrap.sh"
## create a private network visible only to the host machine
config.vm.network :private_network, ip: "192.168.99.110"
## assign a static ip visible to others on the network.
# config.vm.network :public_network, :bridge => 'en0: Wi-Fi (AirPort)', ip: "192.168.10.222", netmask: "255.255.255.0"
# Example of share an additional folder to the guest VM.
# config.vm.synced_folder "../MapLoom", "/MapLoom"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096", "--cpus", "2"]
end
end