Linux command
vagrant-halt 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Stop VM
vagrant halt
Force stop
vagrant halt -f
Stop specific VM
vagrant halt [name]
说明
vagrant halt shuts down a running Vagrant machine. Sends a shutdown signal to the guest OS. Use --force to power off immediately without graceful shutdown.
参数
- -f, --force
- Force shutdown (power off).
FAQ
What is the vagrant-halt command used for?
vagrant halt shuts down a running Vagrant machine. Sends a shutdown signal to the guest OS. Use --force to power off immediately without graceful shutdown.
How do I run a basic vagrant-halt example?
Run `vagrant halt` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --force do in vagrant-halt?
Force shutdown (power off).