commands.sh

vagrant validate

all

Check the validity of a Vagrantfile. See also: `vagrant`, `vagrant box`, `vagrant plugin`.

More info →

Options (1)

-p, --ignore-providerboolean

Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options

Example: vagrant validate {{[-p|--ignore-provider]}} {{docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop}}

Examples (2)

Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors

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
made by @shridhargupta | data from tldr-pages