Vagrant – User doesn’t match

Error message while launching a vagrant machine:

The VirtualBox VM was created with a user that doesn’t match the current user running Vagrant. VirtualBox requires that the same user be used to manage the VM that was created. Please re-run Vagrant with that user. This is not a Vagrant issue.

The UID used to create the VM was: 0 Your UID is: 501

Solution:

Open this file in your vagrant’s machine folder.

.vagrant\machines\default\virtualbox\creator_uid

And replace the content with the correct user ID ( 0 in my case )

Advertisements

2 thoughts on “Vagrant – User doesn’t match

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s