From 9321f3cb6cbac452e0b7c3a9d1f9731446c60f75 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 13 Jul 2018 16:57:24 -0700 Subject: [PATCH] Ensure the vagrantfile_name option is stubbed when using plugin commands --- bin/vagrant | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/vagrant b/bin/vagrant index 7720d0915..83fc5a887 100755 --- a/bin/vagrant +++ b/bin/vagrant @@ -44,6 +44,7 @@ argv.each_index do |i| # Do not load plugins when performing plugin operations if arg == "plugin" + opts[:vagrantfile_name] = "" ENV['VAGRANT_NO_PLUGINS'] = "1" # Only initialize plugins when listing installed plugins if argv[i+1] != "list"