Skip reinstallation of system plugins

This commit is contained in:
Chris Roberts 2016-11-17 16:40:30 -08:00
parent 582eb0889e
commit 23b40a31ed
1 changed files with 1 additions and 0 deletions

View File

@ -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]