O
O
OrangeCat2014-12-25 11:30:35
IDE
OrangeCat, 2014-12-25 11:30:35

Vagrant has created a new VM in place of the existing one. How to return?

I used vagrant for one project.
But at some point I created several virtual machines.
And everything configured and installed for the project was in the first. And by vagrant up, the last one created is completely empty. I don't want to reinstall everything.
How to return to the original?
Tried in Vagrantfile:
config.vm.provider "virtualbox" do |vb|
vb.name = "Vagrant_default_1412683999581_91987"
end
but then it says
A VirtualBox machine with the name 'Vagrant_default_1412683999581_91987' already
exists.
Please use another name or delete the machine with the existing
name, and try again.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question