From 23b40a31ed67c1417639394cf9efa4b36d419d79 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 17 Nov 2016 16:40:30 -0800 Subject: [PATCH] Skip reinstallation of system plugins --- plugins/commands/plugin/command/expunge.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands/plugin/command/expunge.rb b/plugins/commands/plugin/command/expunge.rb index 9e5db4bd3..47b18ff6a 100644 --- a/plugins/commands/plugin/command/expunge.rb +++ b/plugins/commands/plugin/command/expunge.rb @@ -42,6 +42,7 @@ module VagrantPlugins if options[:reinstall] @env.ui.info(I18n.t("vagrant.commands.plugin.expunge_reinstall")) plugins.each do |plugin_name, plugin_info| + next if plugin_info["system"] # system plugins do not require re-install plugin_info = Hash[ plugin_info.map do |key, value| [key.to_sym, value]