-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathVagrantfile.dist
executable file
·20 lines (20 loc) · 994 Bytes
/
Vagrantfile.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :forwarded_port, guest: 3306, host: 3306
config.ssh.max_tries = 50
config.ssh.timeout = 300
config.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :owner => "vagrant", :group => "www-data"
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "vendor/zfb/zfb-vm/cookbooks"
chef.add_recipe("vagrant_main")
chef.log_level = :debug
# Configure http(s) proxy if needed (requires Vagrant >= 0.7.4)
# chef.http_proxy = "http://proxy.vmware.com:3128"
# chef.https_proxy = "http://proxy.vmware.com:3128"
# chef.http_proxy_user = "my_username"
# chef.http_proxy_pass = "foo"
chef.json.merge!({ :mysql => { :server_root_password => "" } })
end
end