Disable plugin initialization for all plugin commands except list
This commit is contained in:
parent
0cfdf6f1fe
commit
613a38ef74
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue