sudo apt-get install open-vm-tools
- On the host machine : create a new folder that will contain shared files.
- On vmware (cf. shared_folder_steps.png below)
- Select the target virtual machine.
- Click VM > Settings.
- Select Option tab.
- In the left panel select "Shared folder"
- Select "Always enabled"
- Click the Add button, follow the steps and click Finish. Be sure to keep "Enable this share" selected.
- Connect as root to the virtual machine.
- Edit the mounting configuration file
nano /etc/fstab
Add the following line :
.host:/<vmware_name_of_the_transfer> /mnt/<name_of_destination_file> fuse.vmhgfs-fuse defaults 0 0
- Save with Ctrl+O and Ctrl+X
- Reboot the machine :
systemctl reboot