Class: Kitchen::Driver::WinRM

Inherits:
Object
  • Object
show all
Defined in:
lib/kitchen/driver/winrm.rb

Class Method Summary collapse

Class Method Details

.check(instance, hostname, password) ⇒ Object



7
8
9
10
# File 'lib/kitchen/driver/winrm.rb', line 7

def self.check(instance, hostname, password)
		pseudo_state = { hostname: hostname, username: "root", password: password }
      instance.transport.connection(pseudo_state).wait_until_ready
end