安装了homestead, 一切安好. 就是共享文件夹功能不能用.
报错:
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available.
值得注意的是, 启动的时候有这么一句:
[homestead-7] GuestAdditions 5.1.16 running --- OK.
既然guest和我的都是5.1.16了, 而且启动成功了, 为什么还会出错.
virtualbox 5.1.16
vagrant 1.9.3
win10
已试过的方法:
安装vguest插件
创建软连接
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
vagrant plugin install vagrant-vbguest
vagrant reload
这是我使用的 Vagrantfile, 不过我的宿主机是mac, 虚拟机是linux.
说实话 在win上用Vagrant 坑挺多的