挂载共享目录前需要先安装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
本文分享自 作者个人站点/博客 前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!