-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (20 loc) · 830 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
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/artful64"
config.vm.define "worker" do |normal|
config.vm.box = "ubuntu/artful64"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder ".", "/vagrant", :owner=> 'vagrant', :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 = "1024"
# 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