Vagrant Development Environment | Drupal 8

Vagrant Development Environment

Submitted by editor on Mon, 08/01/2016 - 10:07

Vagrant is a development environment allow to have a custom versions of servers (php, apache, vernish .... ) easily for each project

Link : https://www.vagrantup.com/

 

Problemes and solutions

1.  How to fix Vagrant ssh authentication failure after packaging vagrant box

http://computingforgeeks.com/how-to-fix-vagrant-ssh-authentication-failure-after-packaging-vagrant-box/
http://www.productiveminds.com/blog/vagrant-ssh-authentication-how-to-successfully-login-into-vm-box-using-vagrant-up/

 

2. Debugging

https://www.vagrantup.com/docs/other/debugging.html

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

SSH:
* `private_key_path` file must exist: C:\cygwin64\home\USER/.vagrant.d/insecure_private_key

Solution:
Copy from : C:\Users\USER\.vagrant.d\insecure_private_key
To : C:\cygwin64\home\USER/.vagrant.d/insecure_private_key

An alternative override Solution (This is not a real solution but allow you to override the problem):
1. Add any (bad) private_key to C:\cygwin64\home\USER/.vagrant.d/insecure_private_key
2.Connect to the VM (vagrant ssh) using vagrant default user:password -> vagrant:vagrant

 

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.