Tramp, install chef / centos-6.6

My stray version:

$ vagrant --version
Vagrant version 1.0.1

      

Following these instructions , vagrant init

works:

$ 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.

      

But vagrant up

can't find the field:

$ 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.

      

How can I customize vagrant

or command line parameter to use chef/centos-6.6

?

+3


source to share


3 answers


The chef has removed all of his satin boxes. They left a comment here https://atlas.hashicorp.com/chef/ saying:



If you are looking for Bento boxes they now have their own organization https://atlas.hashicorp.com/bento/

+2


source


If you call a:

vagrant box add chef/centos-6.6

      

with an outdated source (chef) it will provide feedback leading to bento as a new source, something like:

Name: bento /centos-6.6
Vendor: virtualbox
Version: 2.2.0



This ultimately makes it more specific what is written on the site in the chef link , that now the command in your question will look like this:

$ vagrant init bento/centos-6.6

      

(replacing the boss with bento )

+1


source


Hashicorp moved their images to the atlas some time ago. Boxes are now loaded here: https://atlas.hashicorp.com/boxes/search

Your box is here: https://atlas.hashicorp.com/chef/boxes/centos-6.6

I can download the box with Vagrant 1.7.2. You are using 1.0.1.

So I think this is a version issue. You must install a newer version.

-3


source







All Articles