Cannot mount vagrant synced folder with nfs

后端 未结 1 961
臣服心动
臣服心动 2021-02-14 10:58

I managed to setting up my Symfony2 project inside a ubuntu vagrant box. But it takes around 20 seconds to load the website through it\'s webserver. After some research, i came

相关标签:
1条回答
  • 2021-02-14 11:26

    Found the solution for the problem here https://github.com/mitchellh/vagrant/issues/2546

    The correct syntax for vagrant version 1.3 to 1.6 is:

    config.vm.synced_folder ".", "/vagrant", :nfs => { :mount_options => ["dmode=777","fmode=777"] }
    
    0 讨论(0)
提交回复
热议问题