I have the following settings in my strollers file.
config.vm.provision :shell, :path => "provision/bootstrap.sh" config.vm.provision :shell, :path => "provision/step-1.sh" config.vm.provision :shell, :path => "provision/step-2.sh" config.vm.provision :shell, :path => "provision/dev-setup.sh"
provision/bootstrap.sh needs to be started always, however I need to conditionally start the remaining conditions. E.g. if the mode is dev , run provision/dev-setup.sh
Is there a built-in Vagrant configuration setting for this? (e.g. pass args command line to vagrant provision )?
I would not want to rely on ENV variables, for example, if possible.
source share