We suggest trying differet options and seeing what works best for you. Whenever you change the mount type on an existing Vagrant box, you need to run vagrant reload for the changes to take affect (or destroy and create a new one). To change the mount type for synced folders, you can change the vagrant_mount_type configuration option: vagrant_mount_type: nfs ![]() Vagrant supports different types of mount options for synced folders like NFS, SMB, and Virtualbox's native option.īy default, Trellis tries to default to NFS because it offers the best performance for macOS users. Trellis uses Vagrant's synced folder feature to sync folders from your local machine (like your Trellis project itself) to the virtual machine. You'd then run vagrant up from the project-specific directory. If you want to have 1 Vagrant VM per project/site, you should make copies of the Vagrantfile and put them into each project's dir. Generally, if you want to have multiple sites on 1 Vagrant VM, you should keep the Vagrantfile where it is (in the trellis dir). ![]() The example Vagrantfile in this project can be kept in this folder or moved anywhere else such as a project/site folder. To make local overrides, create a file with any overrides ![]() ![]()
0 Comments
Leave a Reply. |