问题:
There is surprisingly no documentation on what the Vagrant commands do, other than references throughout the "getting started" tutorial. 令人惊讶的是,没有关于Vagrant命令的文档,除了“入门”教程中的参考文献。
What I've worked out so far: 到目前为止我已经解决了什么:
-
box
- manage " boxes "box
- 管理“ 盒子 ” -
destroy
- shut down the VM then delete its stored image?destroy
- 关闭VM然后删除其存储的图像? -
gem
-
halt
- shut down the VMhalt
- 关闭VM -
init
- prepare a directory with a new Vagrantfileinit
- 使用新的Vagrantfile准备一个目录 -
package
- shut down the VM, then convert it to a 'package' which can be turned into a box?package
- 关闭VM,然后将其转换为'package',可以将其变成一个盒子? (Or something) (或者其他的东西) -
provision
- run just the provisioning (eg, Chef, Puppet...) stageprovision
- 只运行配置(例如,Chef,Puppet ......)阶段 -
reload
- modify the VM configuration (eg, reapply Vagrantfile), reboot the VM, reprovisionreload
- 修改VM配置(例如,重新应用Vagrantfile),重新启动VM,重新配置 -
resume
- un-suspend (ie, unhibernate)resume
- un-suspend(即unhibernate) -
ssh
- open an SSH shell connection to the VMssh
- 打开与VM的SSH shell连接 -
ssh-config
-
status
-
suspend
- hibernate the VMsuspend
- 休眠VM -
up
- some or all of: copy a VM image to create a new VM, apply configuration to it, boot itup
- 部分或全部:复制VM映像以创建新VM,对其应用配置,引导它
Do I have these right? 我有这些权利吗? What are the others? 还有什么? I'm still a bit unclear on the exact difference between reload
and destroy
/ up
. 我仍然有点不清楚reload
和destroy
/ up
之间的确切区别。