-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
33 lines (21 loc) · 911 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
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 9200, host: 9200
config.vm.network "forwarded_port", guest: 6060, host: 6060
config.vm.network "forwarded_port", guest: 5000, host: 5000
config.vm.define "worker" do |normal|
config.vm.synced_folder ".", "/vagrant", :owner=> 'ubuntu', :group=>'users', :mount_options => ['dmode=777', 'fmode=777']
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
# Customize the amount of memory on the VM:
vb.memory = "2048"
# https://github.com/boxcutter/ubuntu/issues/82#issuecomment-260902424
vb.customize [
"modifyvm", :id,
"--cableconnected1", "on",
]
end
config.vm.provision :shell, path: "vagrant/bootstrap.sh"
end
end