Commandes Linux : vagrant validate


Commande : vagrant validate
Usage: vagrant validate
    -h, --help                       Print this help


Vérifier la syntaxe d’un fichier Vagrantfile

vagrant validate

ex :

$ vagrant validate
There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:

D:/vagrant/projects/demo/Vagrantfile:24: syntax error, unexpected tIDENTIFIER, expecting keyword_end
  # accessing "localhost:8080" will access port 80 on
$ echo $?


Fermer le menu