← 返回命令列表

Linux command

vagrant-resume 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Resume

vagrant resume

Resume

vagrant resume [name|id]

Resume

vagrant resume --provision

Resume

vagrant resume --no-provision

说明

vagrant resume brings a suspended Vagrant machine back online. It restores the VM state from the point when it was suspended with vagrant suspend. Resuming is faster than a full boot from a halted state because it restores from a saved memory snapshot rather than performing a cold start. If the machine is not in a suspended state, this command has no effect.

参数

--provision
Run provisioners.
--no-provision
Skip provisioners.

FAQ

What is the vagrant-resume command used for?

vagrant resume brings a suspended Vagrant machine back online. It restores the VM state from the point when it was suspended with vagrant suspend. Resuming is faster than a full boot from a halted state because it restores from a saved memory snapshot rather than performing a cold start. If the machine is not in a suspended state, this command has no effect.

How do I run a basic vagrant-resume example?

Run `vagrant resume` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --provision do in vagrant-resume?

Run provisioners.