1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/vagrant-validate.md
Amine LOUHICHI 4f897e8be2
vagrant-validate: add page (#15900)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-03-10 15:25:26 +02:00

13 lines
538 B
Markdown

# 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}`