挂载共享目录前需要先安装open-vm-tools
apt install open-vm-tools -y
手动挂载:
mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
自动挂载:
echo ".host:/ /mnt/hgfs fuse.vmhgfs-fuse auto,allow_other 0 0" >> /etc/fstab && mount -a
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END




暂无评论内容