website/content/docs/synced-folders/virtualbox.mdx
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
[!IMPORTANT]
Documentation Update: Product documentation previously located in/websitehas moved to thehashicorp/web-unified-docsrepository, where all product documentation is now centralized. Please make contributions directly toweb-unified-docs, since changes to/websitein this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
If you are using the Vagrant VirtualBox provider, then VirtualBox shared folders are the default synced folder type. These synced folders use the VirtualBox shared folder system to sync file changes from the guest to the host and vice versa.
automount (boolean) - If true, the --automount flag will be used when
using the VirtualBox tools to share the folder with the guest VM. Defaults to false
if not present.
SharedFoldersEnableSymlinksCreate (boolean) - If false, will disable the
ability to create symlinks with the given VirtualBox shared folder. Defaults to
true if the option is not present.
There is a VirtualBox bug related to sendfile which can result
in corrupted or non-updating files. You should deactivate sendfile in any
web servers you may be running.
In Nginx:
sendfile off;
In Apache:
EnableSendfile Off