vagrantの起動時にUIDの競合エラー
別マシンからGithubに上げたVagrantfileを自宅マシンで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 that user. This is not a Vagrant issue. The UID used to create the VM was: XXXXXXX Your UID is: XXX
まだ作ってないのになんで競合するんやと思ってたら、.vagrant
以下もGithubに上げててそれを引っ張ってきてたからだった。
しょうもないやつだけど、気づきにくい気もするのでとりあえず書いておく。
解決策は単純にgit rm -r .vagrant
してコミットしておしまい