-
Notifications
You must be signed in to change notification settings - Fork 11
/
Vagrantfile
executable file
·47 lines (36 loc) · 1.36 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "debian/jessie64"
config.vm.network "forwarded_port", guest: 80, host: 8081
config.vm.network "forwarded_port", guest: 5060, host: 5061, protocol: 'udp'
# Freeswitch
#config.vm.define "freeswitch" do |freeswitch|
# freeswitch.vm.hostname = "freeswitch-mw.dev"
# freeswitch.vm.network :public_network, ip: "10.0.3.223"
# freeswitch.vm.provision "shell",
# inline: "sudo apt-get update && sudo apt-get install -f ansible"
#end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 512]
vb.customize ["modifyvm", :id, "--cpus", 1]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
end
#config.vm.provision "ansible_local" do |ansible|
# ansible.playbook = "tests/build.yml"
#end
config.vm.synced_folder ".", "/usr/local/src/freeswitch-mw"
# config.ssh.username = "vagrant"
# config.ssh.password = "vagrant"
# config.vm.provider "virtualbox" do |vb|
# vb.gui = true
# end
#config.ssh.username = "vagrant"
#config.ssh.password = "vagrant"
#config.ssh.insert_key = false
#config.vm.boot_timeout = 240
config.vbguest.auto_update = true
config.vbguest.auto_reboot = true
config.vbguest.installer_arguments = ['--nox11']
end