这是我自升级到OS X 10.10(Beta)以来第一次运行vagrant,所以它可能就在那里连接。 --version
是1.4.3,VirtualBox是4.3.0,当用VAGRANT_LOG=DEBUG
运行时,我得到底部的混乱。 Vagrantfile
不能简单:
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu-14.04"
end
我被以下输出卡住了:
[default] -- 22 => 2222 (adapter 1)
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "modifyvm", "76ef7d0b-2b19-4b12-9a1a-b5e0654a143f", "--natpf1", "ssh,tcp,127.0.0.1,2222,,22"]
DEBUG subprocess: Command not in installer, not touching env vars.
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SetHostname:0x00000100a219c0>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderVirtualBox::Action::SaneDefaults:0x00000100a21998>
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "storagectl", "76ef7d0b-2b19-4b12-9a1a-b5e0654a143f", "--name", "SATA Controller", "--hostiocache", "on"]
DEBUG subprocess: Command not in installer, not touching env vars.
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "modifyvm", "76ef7d0b-2b19-4b12-9a1a-b5e0654a143f", "--rtcuseutc", "on"]
DEBUG subprocess: Command not in installer, not touching env vars.
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO sanedefaults: Automatically figuring out whether to enable/disable NAT DNS proxy...
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "modifyvm", "76ef7d0b-2b19-4b12-9a1a-b5e0654a143f", "--natdnsproxy1", "on"]
DEBUG subprocess: Command not in installer, not touching env vars.
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<VagrantPlugins::ProviderVirtualBox::Action::Customize:0x00000100a53dd0>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderVirtualBox::Action::Boot:0x00000100a53da8>
INFO interface: info: Booting VM...
[default] Booting VM...
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "startvm", "76ef7d0b-2b19-4b12-9a1a-b5e0654a143f", "--type", "headless"]
DEBUG subprocess: Command not in installer, not touching env vars.
DEBUG subprocess: Selecting on IO
这里有什么用?版本兼容性问题或其他?
答案 0 :(得分:10)
此后没有回复,我在Twitter上发布。我的一位朋友指出VirtualBox版本可能是原因。
VirtualBox中的更新未更新,因此我:
vagrant up
,没有错误其他人希望VirtualBox按预期更新。
答案 1 :(得分:0)
Vagrant今天对我表现出同样的行为。但是,OSX的简单重启修复了该问题。也许在重新安装VirtualBox之前要尝试一下。
干杯
延