mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Restore NFS shares on darwin & 1024MB in Vagrant.
This commit is contained in:
committed by
Neil Lalonde
parent
79dfccf717
commit
f28dc6115d
7
Vagrantfile
vendored
7
Vagrantfile
vendored
@@ -15,8 +15,8 @@ Vagrant::Config.run do |config|
|
||||
# them into the VM.
|
||||
config.ssh.forward_agent = true
|
||||
|
||||
# This setting gives the VM 512MB of MEMORIES instead of the default 384.
|
||||
config.vm.customize ["modifyvm", :id, "--memory", 512]
|
||||
# This setting gives the VM 1024MB of MEMORIES instead of the default 384.
|
||||
config.vm.customize ["modifyvm", :id, "--memory", 1024]
|
||||
|
||||
# This setting makes it so that network access from inside the vagrant guest
|
||||
# is able to resolve DNS using the hosts VPN connection.
|
||||
@@ -25,5 +25,6 @@ Vagrant::Config.run do |config|
|
||||
config.vm.forward_port 3000, 4000
|
||||
config.vm.forward_port 1080, 4080 # Mailcatcher
|
||||
|
||||
config.vm.share_folder("v-root", "/vagrant", ".")
|
||||
nfs_setting = RUBY_PLATFORM =~ /darwin/ ? true : false
|
||||
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => nfs_setting)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user