mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 12:58:38 +00:00
Update cheatsheets
This commit is contained in:
27
tldr/vagrant-destroy
Normal file
27
tldr/vagrant-destroy
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# vagrant destroy
|
||||
|
||||
> Stop a guest machine and destroy all its resources.
|
||||
> Any boxes installed are kept intact.
|
||||
> See also: `vagrant`.
|
||||
> More information: <https://developer.hashicorp.com/vagrant/docs/cli/destroy>.
|
||||
|
||||
- Destroy the currently running machine:
|
||||
|
||||
`vagrant destroy`
|
||||
|
||||
- Target a machine by name or ID:
|
||||
|
||||
`vagrant destroy {{name|id}}`
|
||||
|
||||
- Do not ask for confirmation before destroying:
|
||||
|
||||
`vagrant destroy {{[-f|--force]}}`
|
||||
|
||||
- Shut down the machine gracefully:
|
||||
|
||||
`vagrant destroy {{[-g|--graceful]}}`
|
||||
Reference in New Issue
Block a user