mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-08 16:26:25 -04:00
Merge pull request #13604 from aminelch/amine.docs-update
Update documentation for the Vagrant validate command
This commit is contained in:
commit
03371fde34
1 changed files with 10 additions and 0 deletions
|
|
@ -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.
|
||||
```
|
||||
Loading…
Reference in a new issue