Vagrant起動時にUIDが違うと表示される
勉強用に作った環境を会社でも使おうと思ってgit cloneしてからvagrant upすると以下のエラーが発生
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
501
that user. This is not a Vagrant issue.
The UID used to create the VM was: 502
Your UID is: 501
どうもUIDが違うようです。
http://qiita.com/shinyay/items/fbe53ce2ce1029f1914f
にあるように
.vagrant/machines/default/virtualbox/creator_uid
を編集して502から501に変えたら無事起動しました。
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
501
that user. This is not a Vagrant issue.
The UID used to create the VM was: 502
Your UID is: 501
どうもUIDが違うようです。
http://qiita.com/shinyay/items/fbe53ce2ce1029f1914f
にあるように
.vagrant/machines/default/virtualbox/creator_uid
を編集して502から501に変えたら無事起動しました。
この記事へのコメント