-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
28 lines (20 loc) · 1.11 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "Trusty64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :private_network, ip: "192.168.33.10"
config.vm.network "forwarded_port", guest: 80, host: 8765
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 2048]
end
config.vm.synced_folder "www", "/var/www", create: true #type: "nfs"
#,:mount_options => ["dmode=777","fmode=666"]
config.vm.synced_folder "sqldump", "/var/sqldump", create: true
config.vm.synced_folder "scripts", "/var/scripts", create: true
config.vm.synced_folder "custom_config_files", "/var/custom_config_files", create: true
#config.vm.synced_folder "custom_modules", "/var/www/drupal7/sites/all/modules/custom", create:true
config.vm.provision :shell, :path => "bootstrap.sh"
# config.vm.provision :shell, run: "always", :path => "load.sh"
end