Problems Installing Laravel Homestead with Vagrant

0

I currently have the following installation problem, I am trying to install Laravel Homestead via vagrant but when I run the command from the Git Bash:

$ vagrant box add laravel/homestead

Instead of allowing me to choose the installation for virtualbox, it automatically starts downloading the vmware as shown:

    $ vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://vagrantcloud.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v6.2.0) for provider: vmware_desktop
    box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/6.2.0/providers/vmware_desktop.box
==> box: Box download is resuming from prior download progress
    box: Progress: 0% (Rate: 499k/s, Estimated time remaining: 1:09:50)

I tried different versions of vagrant between version 2.1 and version 2.0 and both have the same behavior. I have not allowed the download to run because I assume it will not work for virtualbox,

Does anyone know how I can download laravel homestead for virtualbox? since with that command it does not work. Thank you very much.

    
asked by Luis Alfredo Serrano Díaz 10.08.2018 в 17:35
source

1 answer

0

After researching the network I managed to solve the problem, but first I would like to make clear why the problem.

Vagrant from version: v6.2.0 does not have virtualbox or parallels in its repos, it only has vmware_desktop. As you can see in its URL: Versions of Vagrant is for version 6.1.0 that works correctly, to be able to install laravel / homestead for virtualbox I used the following commands:

$ vagrant box add "laravel/homestead" --provider="virtualbox"

$ vagrant init laravel/homestead \

--box-version 6.1.0

$ vagrant up

I hope that if someone else is in this same situation I can solve it in the same way.

Happy Day.

    
answered by 13.08.2018 / 15:15
source