我在Windows 7上安装了Vagrant 1.8.1。按照文档,运行以下命令:
vagrant init hashicorp/precise32
vagrant up
在vagrant init
上,正在生成Vagrantfile
,但vagrant up
失败,我得到以下输出:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise32' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'hashicorp/precise32' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/hashicorp/precise32"]
Error:
以下是调试信息的错误:
URL: ["https://atlas.hashicorp.com/hashicorp/precise32"]
Error:
INFO interface: Machine: error-exit ["Vagrant::Errors::BoxAddShortNotFound", "The box 'hashicorp/precise32' could not be found or\ncould not be accessed in the remote catalog. If this is a private\nbox on HashiCorp's Atlas, please verify you're logged in via\n
vagrant login . Also, please double-check the name. The expanded\nURL and error message are shown below:\n\nURL: [\"https://atlas.hashicorp.com/hashicorp/precise32\"]\nError: "]
我也尝试过禁用杀毒软件,但没有运气。然后我尝试在不同的机器上安装,在那台机器上我也得到相同的错误信息。
答案 0 :(得分:1)