1
CoX 2015-01-20 19:31:31 +08:00 via iPhone
用VBox直接启动一下看看是不是停在启动界面了
|
2
jiyee 2015-01-20 20:11:40 +08:00 via iPhone
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
会不会因为这个,Vagrantfile指定一下试试 |
3
bengol 2015-01-20 21:17:53 +08:00 via iPad
跟我一样。后来我把它们都删除了
|
4
phpcxy 2015-01-20 21:23:29 +08:00 via iPad
GUI,看看有没有报具体错误信息
|
5
emric 2015-01-20 21:29:11 +08:00
先确定在 VirtualBox GUI 能不能开机.
如果出现错误, 将 VirtualBox 退回到 4.3.12 版本. 因为 4.3.13 及以上版本启用了硬件加速, 部分 Windows 机器并不兼容. |
7
HowardMei 2015-01-21 00:34:53 +08:00
先试试:
config.vm.boot_timeout = 360 不行再加上: INTNET_NAME = [*('A'..'Z')].sample(8).join config.vm.provider "virtualbox" do |virt| ## Don't boot with headless mode so we can observe the start up process virt.gui = true ## Give the virtual machine a name #virt.name = config.vm.hostname #virt.customize ["modifyvm", :id, "--name", config.vm.hostname] ## Use VBoxManage to customize the VM: ## Give the internal network/cluster its own namespace to avoid conflicts virt.customize ["modifyvm", :id, "--nic2", "intnet", "--intnet2", "#{INTNET_NAME}"] ## Fix for slow external network connections virt.customize ['modifyvm', :id, '--natdnshostresolver1', 'on'] virt.customize ['modifyvm', :id, '--natdnsproxy1', 'on'] ## Adjust total ram MB virt.customize ["modifyvm", :id, "--memory", 1024] ## Adjust video ram MB virt.customize ["modifyvm", :id, "--vram", 128] ## Adjust number of cpus cores virt.customize ["modifyvm", :id, "--cpus", 2] ## Adjust CPU utilization cap (percentage) virt.customize ["modifyvm", :id, "--cpuexecutioncap", 80] end |