website/content/docs/cli/validate.mdx
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
[!IMPORTANT]
Documentation Update: Product documentation previously located in/websitehas moved to thehashicorp/web-unified-docsrepository, where all product documentation is now centralized. Please make contributions directly toweb-unified-docs, since changes to/websitein this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
Command: vagrant validate
This command validates your Vagrantfile.
--ignore-provider - Ignores provider config options.Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors
$ vagrant validate
Vagrantfile validated successfully.
Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options:
$ vagrant validate --ignore-provider virtualbox
==> default: Ignoring provider config for validation...
Vagrantfile validated successfully.