Specify the --no-parallel flag inside the Vagrantfile

According to the documentation http://docs.vagrantup.com/v2/cli/up.html vagrant up has an optional parameter --no-parallel

Is it possible to specify this flag inside the Vagrantfile or at least warn the user if it is not specified?

+6
source share
1 answer

Got a response from the original repo environment test suite :

ENV['VAGRANT_NO_PARALLEL'] = 'yes'

Edit:

Well, unfortunately, I have to say that this is not an option. This seems to work for env where vagrant running, but not in Vagrantfile

$ VAGRANT_NO_PARALLEL=yes vagrant up - works

$ vagrant up with Vagrantfile containsint VAGRANT_NO_PARALLEL - does not work

+4
source

Source: https://habr.com/ru/post/983339/


All Articles