mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Revert "vagrant: Switch Virtualbox to use NFS for syncing files."
This reverts commit 4d7f1e7c88.
Apparently, Vagrant's parsing seems to result in this demanding a
network connection. Further investigation is needed.
This commit is contained in:
3
Vagrantfile
vendored
3
Vagrantfile
vendored
@@ -30,6 +30,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
host_ip_addr = "127.0.0.1"
|
host_ip_addr = "127.0.0.1"
|
||||||
|
|
||||||
config.vm.synced_folder ".", "/vagrant", disabled: true
|
config.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
|
config.vm.synced_folder ".", "/srv/zulip"
|
||||||
|
|
||||||
vagrant_config_file = ENV['HOME'] + "/.zulip-vagrant-config"
|
vagrant_config_file = ENV['HOME'] + "/.zulip-vagrant-config"
|
||||||
if File.file?(vagrant_config_file)
|
if File.file?(vagrant_config_file)
|
||||||
@@ -80,7 +81,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
lxc.backingstore = 'dir'
|
lxc.backingstore = 'dir'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
config.vm.synced_folder ".", "/srv/zulip"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provider "virtualbox" do |vb, override|
|
config.vm.provider "virtualbox" do |vb, override|
|
||||||
@@ -88,7 +88,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
# It's possible we can get away with just 1.5GB; more testing needed
|
# It's possible we can get away with just 1.5GB; more testing needed
|
||||||
vb.memory = 2048
|
vb.memory = 2048
|
||||||
vb.cpus = 2
|
vb.cpus = 2
|
||||||
config.vm.synced_folder ".", "/srv/zulip", type: "nfs"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provider "vmware_fusion" do |vb, override|
|
config.vm.provider "vmware_fusion" do |vb, override|
|
||||||
|
|||||||
Reference in New Issue
Block a user