Hands-On DevOps with Vagrant
上QQ阅读APP看书,第一时间看更新

Options/flags

There are six flags for this command:

  • --box-version [INSERT VALUE]: Adds a version of the box supplied as the first parameter into the Vagrantfile
  • -f/--force: Overwrite an existing Vagrantfile if there is already one in the same directory
  • -m/--minimal: Generates a minimal Vagrantfile that will remove anything not required, such as comments
  • --output [INSERT VALUE]: Uses an output path specified by the first parameter
  • --template [INSERT VALUE]: Uses a custom Vagrantfile template when its path is supplied as the first parameter
  • -h/--help: Prints the help screen for this command

An example is the vagrant init --force command.