Merge pull request #13604 from aminelch/amine.docs-update

Update documentation for the Vagrant validate command
This commit is contained in:
Chris Roberts 2025-03-20 15:17:36 -07:00 committed by GitHub
commit 03371fde34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,17 @@ This command validates your [Vagrantfile](/vagrant/docs/vagrantfile/).
## Examples
Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors
```shell-session
$ vagrant validate
Vagrantfile validated successfully.
```
Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options:
```shell-session
$ vagrant validate --ignore-provider virtualbox
==> default: Ignoring provider config for validation...
Vagrantfile validated successfully.
```