E
E
Evreke2015-12-17 14:30:47
virtual box
Evreke, 2015-12-17 14:30:47

How to correctly launch an additional virtual machine using vagrant?

There is vagrant in conjunction with virtualbox. Installed box ubuntu/trusty64.
Through the vagrant init laravel / homestead command, a vagrantfile is created in a separate folder, but after vagrant up the virtual machine does not start, it swears at default: Warning: Remote connection disconnect. Retrying... In the GUI virtual box, however, there is my ubuntu/trusty64 and it starts up, but only that the added laravel/homestead in the GUI is missing at all. What is the correct way to add a second virtual machine and run it not in parallel with ubuntu/trusty64?
Now I noticed that a new machine is not created in the virtualbox GUI at all, and when I do vagrant up for laravel/homestead, ubuntu starts up...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2015-12-17
@OnYourLips

Show Vagrantfile.
Do you have settings for private_network there?
I think that's the problem.

but only that the added laravel/homestead in the GUI is missing at all
I advise you not to use "laravel/homestead", it is intended for beginners who cannot set up a virtual machine for the project themselves.
If you have at least minimal skills, then it's better to use ubuntu/trusty64 virtual machines, and they are different for each project. This is the point of vagrant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question