我使用vagrant,但我不知道为什么有两个同名的虚拟机,只是id(名字后面的数字)不同,即在这个图片的情况下,1445839840601_4522
我想这可能是运行'vagrant provision'的结果
我如何使用其他版本启动?
答案 0 :(得分:0)
运行vagrant global-status
以获取所有虚拟机的列表以及它们已创建的目录
fhenri@machine:~$ vagrant global-status
id name provider state directory
---------------------------------------------------------------------------------------------------------------------------
d17e2f2 default vmware_fusion not running /Users/fhenri/project/examples/vagrant/testbox.puppet
371e3b4 default vmware_fusion not running /Users/fhenri/project/examples/vagrant/centos
678add8 default vmware_fusion not running /Users/fhenri/project/examples/vagrant/ubuntu
716d724 default vmware_fusion not running /Volumes/AribaVM/T@C
7384c9e default vmware_fusion not running /Volumes/Passport/education/mongodb/vm
7d51e32 default vmware_fusion not running /Users/fhenri/project/examples/vagrant/testbox.puphpet
adf884c db vmware_fusion not running /Volumes/Transcend/pws.light
2d4f81b app vmware_fusion not running /Volumes/Transcend/pws.light
5490b3b default virtualbox poweroff /Users/fhenri/project/examples/vagrant/windows
您将能够从
中检索他们创建的项目/目录