diff --git a/plugins/communicators/winrm/communicator.rb b/plugins/communicators/winrm/communicator.rb index 14a742f5b..4c1fa8758 100644 --- a/plugins/communicators/winrm/communicator.rb +++ b/plugins/communicators/winrm/communicator.rb @@ -121,6 +121,10 @@ module VagrantPlugins return false end + def reset! + shell(true) + end + def shell(reload=false) @shell = nil if reload @shell ||= create_shell