Ensure the vagrantfile_name option is stubbed when using plugin commands
This commit is contained in:
parent
2ac0b0c3a9
commit
9321f3cb6c
|
@ -44,6 +44,7 @@ argv.each_index do |i|
|
||||||
|
|
||||||
# Do not load plugins when performing plugin operations
|
# Do not load plugins when performing plugin operations
|
||||||
if arg == "plugin"
|
if arg == "plugin"
|
||||||
|
opts[:vagrantfile_name] = ""
|
||||||
ENV['VAGRANT_NO_PLUGINS'] = "1"
|
ENV['VAGRANT_NO_PLUGINS'] = "1"
|
||||||
# Only initialize plugins when listing installed plugins
|
# Only initialize plugins when listing installed plugins
|
||||||
if argv[i+1] != "list"
|
if argv[i+1] != "list"
|
||||||
|
|
Loading…
Reference in New Issue