1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Vagrantfile: don't limit network speed

This commit is contained in:
Pierre de La Morinerie 2017-10-23 18:53:34 +05:30
parent 8a5a7fbcf5
commit 2e3bd9f87b

8
Vagrantfile vendored
View file

@ -26,6 +26,14 @@ Vagrant.configure("2") do |config|
# using a specific IP.
config.vm.network "private_network", ip: "192.168.33.10"
# Use the NAT hosts DNS resolver. Fixes slow network in the guest.
# See https://serverfault.com/questions/495914/vagrant-slow-internet-connection-in-guest
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
v.customize ["modifyvm", :id, "--nictype1", "virtio"]
end
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third