测试默认示例
$ vagrant init hashicorp/precise32
$ vagrant up
我的盒子:
- 视窗8.1
- 虚拟盒 5.0.2
- 流浪者1.7.4
- Intel i7-4700MQ CPU 似乎具有 Intel® 虚拟化技术 (VT-x)http://ark.intel.com/products/75117/Intel-Core-i7-4700MQ-Processor-6M-Cache-up-to-3_40-GHz http://ark.intel.com/products/75117/Intel-Core-i7-4700MQ-Processor-6M-Cache-up-to-3_40-GHz
I know this is common error but after trying everything I still cannot make it work
While VM shows:
And I can log in successfully:
防火墙/防病毒软件已关闭。
Hyper-V is not installed
I have tried connecting via putty to 127.0.0.1 2222
EDIT:
Vagrantfile(我已删除注释掉的行)
Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/precise32"
end
This is what vagrant ssh does... nothing. And vagrant reload stuck on same issue.
Vagrant 在第一次启动时时常会发生这种情况。执行此操作后,它将超时并根据提示让您返回,然后转到vagrant ssh
,它会让你进去。如果不进去vagrant reload
它将重新启动虚拟机。发生这种情况是因为 vagrant 图像已关闭 dns,因此需要一段时间才能解析连接。同样,这种情况有时会在您下载并启动后第一次出现。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)