forked from GrossumUA/Symfony2-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
29 lines (23 loc) · 894 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::configure("2") do |config|
config.vm.provider :virtualbox do |vb|
# Set configuration options for the VirtualBox image.
vb.customize [
"modifyvm", :id,
# Set memory size for the VirtualBox image.
"--memory", "2048",
# Set number of CPUs which will be sean inside of the VirtualBox image.
"--cpus", "2",
# Allow VirtualBox image more then one real CPU usage.
"--ioapic", "on"
]
end
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = "lessons.loc"
config.vm.synced_folder "project", "/var/www/lessons.loc/", type: "nfs"
config.vm.network :private_network, ip: "192.168.50.20"
# Run this scripts after image was runned for the first time.
config.vm.provision :shell, path: "vagrant/shell/start.sh"
config.vm.provision :shell, path: "vagrant/shell/project.sh"
end