Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant Up not working

I have issues running vagrant up command on windows 7,I have followed all the steps mentioned in this link

When I run the command vagrant up --provider=hashicorp/precise32, in command prompt,I get the following error.

The provider 'hashicorp/precise32' could not be found, but was requested to back the machine 'default'. Please use a provider that exists.

I have also disabled the Antivirus before installation, but that did not help.

like image 779
prakash Avatar asked Apr 15 '15 11:04

prakash


People also ask

What is vagrant up command?

Command: vagrant up [name|id] This command creates and configures guest machines according to your Vagrantfile. This is the single most important command in Vagrant, since it is how any Vagrant machine is created. Anyone using Vagrant must use this command on a day-to-day basis.

How do I reset my vagrant box?

Command: vagrant reload [name|id] The configured provisioners will not run again, by default. You can force the provisioners to re-run by specifying the --provision flag.

Does vagrant work with Hyper V?

Vagrant comes with support out of the box for Hyper-V, a native hypervisor written by Microsoft. Hyper-V is available by default for almost all Windows 8.1 and later installs. The Hyper-V provider is compatible with Windows 8.1 and later only.

What does vagrant up -- provision do?

Provisioners in Vagrant allow you to automatically install software, alter configurations, and more on the machine as part of the vagrant up process. This is useful since boxes typically are not built perfectly for your use case.


1 Answers

Vagrant works with some Providers, as VirtualBox, Xen, VMWare, AWS, Digital Ocean and Docker.

The hashicorp/precise32 is a box. After Vagrant 1.5 the Vagrant Cloud is available.

For use Vagrant, following the steps:

  • Install Vagrant
  • Install a provider, as VirtualBox
  • Create a new folder, as project
  • Open folder project
  • Execute vagrant init hashicorp/precise32
  • Execute vagrant up --provider=virtualbox or just vagrant up
like image 163
acfreitas Avatar answered Sep 28 '22 16:09

acfreitas