Add reset! method to winrm communicator

This commit is contained in:
Chris Roberts 2018-11-12 15:33:56 -08:00
parent 747dd9301b
commit afc138478d
1 changed files with 4 additions and 0 deletions

View File

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