首页 > 解决方案 > Vagrant - 如何更改虚拟机的目录?

问题描述

当我尝试通过其 ID 漫游特定 VM 时,它给了我一个错误:

Alexs-MacBook-Pro:fullstack alex$ vagrant up 2af6232
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* A box must be specified.

我认为该错误是因为实际目录路径与我创建 VM 时不同。所以,我的具体问题是......

如何更改虚拟机的目录?

标签: macosvagrant

解决方案


推荐阅读