我已经安装了Vagrant,一旦我从终端进入到我的项目文件夹中,就会触发以下命令:
vagrant box add hashicorp/precise32 http://files.vagrantup.com/precise32.box输出:
[vagrant] Downloading with Vagrant::Downloaders::HTTP...
[vagrant] Downloading box: files.vagrantup.com/precise32.box
[vagrant] Downloading box: hashicorp-files.vagrantup.com/precise32.box
[vagrant] Extracting box...
[vagrant] Verifying box...
[vagrant] Cleaning up downloaded box...vagrant init hashicorp/precise32输出:A Vagrantfile has been placed in this directory
vagrant up我收到一个错误,上面说:
The box 'hashicorp/precise32' could not be found发布于 2015-07-21 12:12:00
您所需要做的就是编辑您的迷航文件,并像这样定义vm.box_url和vm.box选项。
config.vm.box_url = "http://files.vagrantup.com/precise32.box“
config.vm.box = "precise32“
然后运行“流浪汉up”
发布于 2015-05-25 13:47:50
请从.deb包安装Vagrant,该包从原始站点http://www.vagrantup.com/downloads下载
https://stackoverflow.com/questions/28340781
复制相似问题