File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ Vagrant.configure(2) do |config|
4242 # Host manager configuration
4343 config . vm . define vmconf [ 'host_name' ]
4444 config . vm . hostname = vmconf [ 'host_name' ]
45- config . vm . network :private_network , type : 'dhcp'
46- config . vm . network :private_network , ip : vmconf [ 'network_ip' ]
45+ config . vm . network "private_network" , ip : vmconf [ 'network_ip' ]
4746
4847 # VBox config
4948 config . vm . provider 'virtualbox' do |v |
@@ -52,6 +51,7 @@ Vagrant.configure(2) do |config|
5251 v . cpus = vmconf [ 'cpus' ]
5352 # Share VPN connections
5453 v . customize [ 'modifyvm' , :id , '--natdnshostresolver1' , 'on' ]
54+ v . customize [ "modifyvm" , :id , "--natdnsproxy1" , "on" ]
5555 # Use multiple CPUs in VM
5656 v . customize [ 'modifyvm' , :id , '--ioapic' , 'on' ]
5757 # Enable symlink
@@ -62,6 +62,7 @@ Vagrant.configure(2) do |config|
6262
6363 # Default options
6464 config . vm . synced_folder '.' , '/vagrant' , disabled : true
65+ # Bindfs options
6566 config . bindfs . default_options = {
6667 force_user : 'vagrant' ,
6768 force_group : 'www-data' ,
You can’t perform that action at this time.
0 commit comments