挂载共享目录前需要先安装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
挂载共享目录前需要先安装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
最新评论