Vagrant up 失败遇到的问题
homestead-7: Waiting for machine to boot. This may take a few minutes...
homestead-7: SSH address: 127.0.0.1:2222
homestead-7: SSH username: vagrant
homestead-7: SSH auth method: private key
每一次就到这里就会报 Timed out 然后我修改了 config.vm.boot_timeout 还是不行 最后 --debug 显示错误信息
ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant
1.9.1/lib/vagrant/action/builtin/wait_for_communicator.rb:62:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.9.1/plugins/providers/virtualbox/action/customize.rb:40:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
实在是找不到原因求解
关于 LearnKu
timeout 2~3次是正常的,如果一直卡住的话……试试把本机的DNS换一个
我有一次也是这种情况,我看了很多讨论帖。出现这种情况大致有两种可能,一种是你的电脑没有开启虚拟化,在 BIOS 里面设置下。还有一种情况你打开你的 virtualbox 看看 homestead 虚拟机属性里面的网络选项里面网线有没有插上。没有勾上的话,选中下应该就能解决。
@young 谢谢 解决了
@leo 谢谢 解决了 最后 在Vagrantfile 加了 config.ssh.username = "vagrant" config.ssh.password = "vagrant" 解决了 感觉应该是我rsa秘钥的问题