DevOps Monkey Goodness

Vagrant Error -> Created with a user that doesn’t match the current user running Vagrant

Had an odd one today with Vagrant, one minute it was working and the next the following error message:

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
our UID is: 1001

The Fix

  1. In the root of the folder where you vagrant file isĀ edit the following file:

    .vagrant\machines\centos\virtualbox\creator_uid

  2. Change the 0 to the UID given in the error message
  3. Run “vagrant up” again!

No Comments Yet

Leave a Reply