Disable plugin initialization for all plugin commands except list

This commit is contained in:
Chris Roberts 2016-11-16 13:08:44 -08:00
parent 0cfdf6f1fe
commit 613a38ef74
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ argv.each_index do |i|
ENV['VAGRANT_NO_PLUGINS'] = "1"
end
if arg == "plugin" && ["repair", "expunge"].include?(argv[i+1])
if arg == "plugin" && argv[i+1] != "list"
ENV['VAGRANT_DISABLE_PLUGIN_INIT'] = "1"
end