-
Notifications
You must be signed in to change notification settings - Fork 3
/
VagrantFile
executable file
·26 lines (21 loc) · 1 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
Vagrant.configure(2) do |config|
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://proxy.priv.atos.fr:3128/"
config.proxy.https = "http://proxy.priv.atos.fr:3128/"
config.proxy.https = "http://proxy.priv.atos.fr:3128/"
config.proxy.no_proxy = "localhost,127.0.0.1"
end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--name" , "complete-me-dev-vm"]
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus" , 2]
end
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, :privileged => true, :path => "bootstrap_root.sh"
config.vm.provision :shell, :privileged => false, :path => "bootstrap_user.sh"
# nodejs NAT
config.vm.network "forwarded_port", guest: 9000, host: 9000
# elasticsearch
config.vm.network "forwarded_port", guest: 9200, host: 9200
config.vm.network "forwarded_port", guest: 9300, host: 9300
end