Add reset! method to winrm communicator
This commit is contained in:
parent
747dd9301b
commit
afc138478d
|
@ -121,6 +121,10 @@ module VagrantPlugins
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def reset!
|
||||||
|
shell(true)
|
||||||
|
end
|
||||||
|
|
||||||
def shell(reload=false)
|
def shell(reload=false)
|
||||||
@shell = nil if reload
|
@shell = nil if reload
|
||||||
@shell ||= create_shell
|
@shell ||= create_shell
|
||||||
|
|
Loading…
Reference in New Issue