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:
parent
8a5a7fbcf5
commit
2e3bd9f87b
1 changed files with 8 additions and 0 deletions
8
Vagrantfile
vendored
8
Vagrantfile
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue