intercity / chef-repo

Set up your server to host Ruby on Rails apps. - Follow us on Twitter: @intercityup
MIT License
417 stars 84 forks source link

Fix box could not be found #205

Closed yourivdlans closed 8 years ago

yourivdlans commented 8 years ago

After completing all required steps and trying to run vagrant up mysql I got the following error:

Bringing machine 'mysql' up with 'virtualbox' provider...
==> mysql: Box 'chef/ubuntu-14.04' could not be found. Attempting to find and install...
    mysql: Box Provider: virtualbox
    mysql: Box Version: >= 0
==> mysql: Loading metadata for box 'chef/ubuntu-14.04'
    mysql: URL: https://atlas.hashicorp.com/chef/ubuntu-14.04
The box you're adding has a name different from the name you
requested. For boxes with metadata, you cannot override the name.
If you're adding a box using `vagrant box add`, don't specify
the `--name` parameter. If the box is being added via a Vagrantfile,
change the `config.vm.box` value to match the name below.

Requested name: chef/ubuntu-14.04
Actual name: bento/ubuntu-14.04

Renaming config.vm.box to bento/ubuntu-14.04 fixed the issue.

jvanbaarsen commented 8 years ago

@yourivdlans Thanks

yourivdlans commented 8 years ago

:+1: