mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
632 B
Plaintext
19 lines
632 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# vagrant validate
|
|
|
|
> Check the validity of a Vagrantfile.
|
|
> See also: `vagrant`, `vagrant box`, `vagrant plugin`.
|
|
> More information: <https://developer.hashicorp.com/vagrant/docs/cli/validate>.
|
|
|
|
- Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors:
|
|
|
|
`vagrant validate`
|
|
|
|
- Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options:
|
|
|
|
`vagrant validate {{[-p|--ignore-provider]}} {{docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop}}`
|