Sempre que eu tento executar este comando vagrant up estou enfrentando o seguinte erro
VirtualBox machine with the name 'homestead-7' already exists.
Please use another name or delete the machine with the existing name,
and try again.
O que eu fiz, no começo, eu configurei tudo perfeitamente, significa que meu vagrant estava funcionando bem. Eu configurei tudo em C: drive com as seguintes estruturas de diretórios.
C:/rec (contains my development Laravel code)
C:/recordings/Homestead (contains homestead files)
nesse momento, minha configuração Yaml foi assim
.homestead/Homestead.yaml
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: C:\rec
to: /home/vagrant/Code
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
Até o estado acima mencionado, tudo estava funcionando bem, mas eu decidi mudar Homestead pasta para minha pasta de documentos, eu fiz isso em my document
git clone https://github.com/laravel/homestead.git Homestead este diretório Homestead criado em meus documentos como este C:\Users\SweetHome\Homestead Eu abro a linha de comando para este diretório e executo este comando ./init.bat i criei os arquivos necessários no diretório .homestead . mas depois de tudo isso, quando eu executo o comando vagrant up no diretório Homestead recém-criado, isso me dá um erro
VirtualBox machine with the name 'homestead-7' already exists.
Please use another name or delete the machine with the existing name,
and try again.
Se eu executar vagrant up no diretório anterior / antigo C:/recordings/Homestead , tudo funcionará corretamente. Mas no novo Homestead estou enfrentando erro.
Guie-me, como posso me livrar do antigo Homestead e começar a trabalhar em novo Homestead . Eu também tentei remover os antigos diretórios Homestead e executar vagrant up , mas o mesmo erro
Aqui estão alguns detalhes:
$ vagrant box list
laravel/homestead (virtualbox, 1.1.0)
$ vagrant --version
Vagrant 1.9.1
$ vagrant global-status
id name provider state directory
-----------------------------------------------------------------------------
5d103ba homestead-7 virtualbox poweroff C:/Users/SweetHome/Homestead
The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date. To interact with any of the machines, you can go to
that directory and run Vagrant, or you can use the ID directly
with Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"