发生了一些事情,我的全局环境中不再有任何 vagrant boxes。换句话说:
$ vagrant global-status
id name provider state directory
--------------------------------------------------------------------
There are no active Vagrant environments on this computer! Or,
you haven't destroyed and recreated Vagrant environments that were
started with an older version of Vagrant.
Vagrantfile
我仍然可以使用并运行将目录更改为目录,$ vagrant up && vagrant ssh
但这有点烦人。
我宁愿不进行销毁,因为我担心会丢失所有数据。还有其他方法可以将这些虚拟机重新放入我的全局环境中吗?谢谢!