https://segmentfault.com/a/1190000002869922 可以试试这个。另外你先通过vagrant status查看是不是机器已经运行,然后可以vagrant ssh +name 进到机器里面了。
➜ tmp vagrant status
Current machine states:
default running (virtualbox)
The VM is running. To stop this VM, you can run `vagrant halt` to
shut it down forcefully, or you can run `vagrant suspend` to simply
suspend the virtual machine. In either case, to restart it again,
simply run `vagrant up`.
➜ tmp vagrant ssh default
[vagrant@localhost ~]$
[vagrant@localhost ~]$
这个错误是说没有同步labs文件到机器里面。