Skip to content

Commit 03371fd

Browse files
authored
Merge pull request #13604 from aminelch/amine.docs-update
Update documentation for the Vagrant validate command
2 parents e519a8a + fa0ca4b commit 03371fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

website/content/docs/cli/validate.mdx

+10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,17 @@ This command validates your [Vagrantfile](/vagrant/docs/vagrantfile/).
1616

1717
## Examples
1818

19+
Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors
20+
1921
```shell-session
2022
$ vagrant validate
2123
Vagrantfile validated successfully.
2224
```
25+
26+
Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options:
27+
28+
```shell-session
29+
$ vagrant validate --ignore-provider virtualbox
30+
==> default: Ignoring provider config for validation...
31+
Vagrantfile validated successfully.
32+
```

0 commit comments

Comments
 (0)