【问题标题】:vagrant, install chef/centos-6.6vagrant,安装 chef/centos-6.6
【发布时间】:2015-10-17 09:06:23
【问题描述】:

我的流浪版本是:

$ vagrant --version
Vagrant version 1.0.1

以下these instructionsvagrant init 工作:

$ vagrant init chef/centos-6.6
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

但是vagrant up找不到盒子:

$ vagrant up 
There was a problem with the configuration of Vagrant. The error message(s)
are printed below:

vm:
* The box 'chef/centos-6.6' could not be found.

如何配置vagrant,或者命令行选项,使用chef/centos-6.6

【问题讨论】:

    标签: vagrant centos6


    【解决方案1】:

    Chef 已从 atlas 中删除了他们所有的盒子。他们在这里留言https://atlas.hashicorp.com/chef/说:

    如果您正在寻找便当盒,他们现在有自己的 组织https://atlas.hashicorp.com/bento/

    【讨论】:

      【解决方案2】:

      如果你触发了:

      vagrant box add chef/centos-6.6
      

      对于过时的来源(厨师),它将提供导致便当作为新来源的反馈,类似于:

      名称:便当/centos-6.6
      提供者:虚拟机
      版本:2.2.0

      这最终使网站上chef atlas link 上写的内容更加具体,您问题中的命令现在应改为:

      $ vagrant init bento/centos-6.6
      

      (用便当代替厨师)

      【讨论】:

        【解决方案3】:

        前段时间,hashicorp 将他们的图片移至 atlas。盒子现在在这里下载: https://atlas.hashicorp.com/boxes/search

        你的盒子在这里: https://atlas.hashicorp.com/chef/boxes/centos-6.6

        我可以下载带有 Vagrant 1.7.2 的盒子。您正在使用 1.0.1。

        所以我认为这是一个版本问题。您必须安装更新的版本。

        【讨论】:

        • Chef 框的链接提供了 404 响应,因为底层图像已经移动。
        猜你喜欢
        • 2015-04-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-08-01
        • 1970-01-01
        • 1970-01-01
        • 2016-10-11
        • 2016-02-26
        相关资源
        最近更新 更多