Share Local Storage with VM

Author: Al-mamun Sarkar Date: 2021-04-16 03:26:59

We can share local disk storage with the virtual machine. If we change something on the local disk it will be changed on the remote disk and vice versa.

 

To sync storage find the following line on Vagrantfile and remove #:

config.vm.synced_folder "../data", "/vagrant_data"

 The first parameter is the local disk path and the second parameter is the virtual machine disk path.