-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
35 lines (25 loc) · 990 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
# -*- 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|
# set to false, if you do NOT want to check the correct VirtualBox Guest Additions version when booting this box
if defined?(VagrantVbguest::Middleware)
config.vbguest.auto_update = false
end
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = 'repo.local'
config.vm.network :private_network, ip: '192.168.88.11'
config.vm.network :forwarded_port, guest: 4443, host: 8443
for i in 20..21
config.vm.network :forwarded_port, guest: i, host: 2200+i
end
for i in 21000..21010
config.vm.network :forwarded_port, guest: i, host: i
end
config.vm.synced_folder "../common", "/common"
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
config.vm.provision :shell,
:keep_color => true,
:path => "setup.sh"
end