vagrant upBringing machine 'default' up with 'virtualBox' provIDer...==> default: Clearing any prevIoUsly set forwarded ports...==> default: Clearing any prevIoUsly set network interfaces...==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat==> default: Forwarding ports... default: 22 => 2222 (adapter 1)==> default: Running 'pre-boot' VM customizations...==> default: Booting VM...==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. retrying...==> default: Machine booted and ready!==> default: Checking for guest additions in VM...==> default: Mounting shared folders... default: /vagrant => /Users/diguage/Box/centosFailed to mount folders in linux guest. This is usually becausethe "vBoxsf" file system is not available. Please verify thatthe guest additions are properly installed in the guest andcan work properly. The command attempted was:mount -t vBoxsf -o uID=`ID -u vagrant`,gID=`getent group vagrant | cut -d: -f3` vagrant /vagrantmount -t vBoxsf -o uID=`ID -u vagrant`,gID=`ID -g vagrant` vagrant /vagrant
我谷歌吧. StackOverflow有同样的问题:
Vagrant error : Failed to mount folders in Linux guest
我做到了最好的答案:here.不同的是我下载了VBoxGuestAdditions_4.3.18.iso.但它没有用.
我尝试第二个答案:here.它也没用.
所以,我不得不问这个问题.
我的环境是:
> Mac OSX 10.10
>流浪汉1.6.3
> CentOS 6.5版(最终版)
>内核2.6.32-431.29.2.el6.x86_64
> VirtualBox 4.3.18
PS:
我用了盒子chef / centos-6.5.我先启动盒子,没关系.但我sudo yum更新,然后sudo yum clean,重启盒子,导出错误.
解决方法 使用以下对我来说工作正常.vagrant plugin install vagrant-vbguest总结
以上是内存溢出为你收集整理的Vagrant错误:无法在Linux guest虚拟机中装入文件夹全部内容,希望文章能够帮你解决Vagrant错误:无法在Linux guest虚拟机中装入文件夹所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)