forked from CReSIS/OLD_OPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
37 lines (25 loc) · 964 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
27
28
29
30
31
32
33
34
35
36
37
# -*- 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|
# VAGRANT BASE BOX
config.vm.box = "CentOS65"
config.vm.box_url = "https://dl.dropboxusercontent.com/u/101242742/v2/CentOS65.box" # KYLE PURDON CUSTOM BOX ([email protected])
# FORWARDED PORT MAPPING
config.vm.network :forwarded_port, guest: 80, host: 80
# SET UP STATIC PRIVATE IP
config.vm.network :private_network, ip: "192.168.111.222"
# VIRTUALBOX SPECIFIC CONFIGURATION
config.vm.provider :virtualbox do |vb|
# BOOT INTO A GUI
vb.gui = true
# CHANGE THE NAME
vb.name = "OpenPolarServer"
# CHANGE THE HARDWARE ALLOTMENT
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end
# ENABLE SHELL PROVISIONING
config.vm.provision :shell, :path => "conf/provisions.sh"
end