forked from Sevyls/vagrant-otrs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
29 lines (22 loc) · 841 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
# -*- 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 = 'hashicorp/precise32'
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 80, host: 3002, protocol: "tcp"
config.vm.network "private_network", type: "dhcp"
config.vm.host_name = "local-otrs-vm"
config.vm.provision "shell",
path: "bootstrap.sh"
config.vm.provision "file",
source: "Config.pm",
destination: "Config.pm"
config.vm.provision "shell",
path: "db.sh"
config.vm.provider "virtualbox" do |v|
# Use VBoxManage to customize the VM. For example to change memory:
v.customize ["modifyvm", :id, "--memory", "1024"]
end
end