vagrant/website/source/docs/experimental/index.html.md

1.9 KiB

layout page_title sidebar_current description
docs Vagrant Experimental Feature Flag experimental Introduction to Vagrants Experimental Feature Flag

Experimental Feature Flag

Some features that aren't ready for release can be enabled through this feature flag. There are a couple of different ways of going about enabling these features. It is also worth noting that Vagrant will not validate the existence of a feature flag.

For example if you are on Linux or Mac, and you wish to enable every single experimental feature, you can set the flag to "on" by setting it to 1:

export VAGRANT_EXPERIMENTAL="1"

You can also enable some or many features if there are specific ones you would like, but don't want every single feature enabled:

# Only enables feature_one
export VAGRANT_EXPERIMENTAL="feature_one"
# Enables both feature_one and feature_two
export VAGRANT_EXPERIMENTAL="feature_one,feature_two"

Valid experimental features

Advanced topic! This is an advanced topic for use only if you want to use new Vagrant features. If you are just getting started with Vagrant, you may safely skip this section.

This is a list of all the valid experimental features that Vagrant recognizes:

typed_triggers

Enabling this feature allows triggers to recognize and execute :type triggers. More information about how these should be used can be found on the trigger documentation page

dependency_provisioners

Enabling this feature allows all provisioners to specify before and after options. These options allow provisioners to be configured to run before or after any given "root" provisioner. more information about these options can be found on the base provisioner documentation page