Vagrant Not Starting Up. User that created VM doesn't match current user

前端 未结 14 1181
抹茶落季
抹茶落季 2020-12-22 18:44

I was trying to start up my vagrant machine, so I navigated to the folder where my vagrantfile is, and used:

vagrant up && vagrant ssh

but I got the

14条回答
  •  情话喂你
    2020-12-22 19:02

    Just to add on to Fred's https://stackoverflow.com/a/32256848/2065804 answer.

    Make sure you changed the correct VM's machine. For example, my VM name is NOT default but rather called homestead-7.

    So the path to the correct one is:

    .vagrant/machines/homestead-7/virtualbox/creator_uid
    

    and not:

    .vagrant/machines/default/virtualbox/creator_uid
    

    This error happened to me when I changed my Mac to another Mac.

提交回复
热议问题