I\'m using Vagrant for my environment and I\'ve got a little issue:
$vagrant up
Bringing machine \'default\' up with \'virtualbox\' provider...
==> defau
I know this is old, but I got exactly the same error. Turns out I was missing this step that is clearly in the documentation.
I needed to edit the Vagrantfile
to set the config.vm.box
equal to the image I had downloaded, hashicorp/precise32
. By default it was set to base
.
Here's what the documentation says:
Now that the box has been added to Vagrant, we need to configure our project to use it as a base. Open the Vagrantfile and change the contents to the following:
Vagrant.configure("2") do |config| config.vm.box = "hashicorp/precise32" end
The first and most important step before starting a Vagrant is, check which all boxes are present in your system. Use this command for getting the list of boxes available.
vagrant box list
Then move to further process that is, selecting a particular box
vagrant init ubuntu/trusty64
(I have selected ubuntu/trusty64)
then,
vagrant up
Thanks
I faced same issue when I ran following commands
vagrant init
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: virtualbox
default: Downloading: base
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /home/...../base
I corrected with
>vagrant init laravel/homestead
>Vagrant up
It worked for me.
Happy coding
well, actually you have to do:
vagrant up laravel/homestead
because according to homestead walkthrough you've just downloaded it: http://laravel.com/docs/5.0/homestead by:
vagrant box add laravel/homestead
so you have to launch the box you mean to use - not some random ubuntu image ;)
Check Homestead.yaml file carefully.Check if there is any extra space character after line ends. Then, open gitbash -> go Homestead directory -> command "vagrant up --provision".