2025-03-19 19:23:44 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`vagrant validate {{[-p|--ignore-provider]}} {{docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop}}`
|