Method: Kitchen::Driver::Proxy#create

Defined in:
lib/kitchen/driver/proxy.rb

#create(state) ⇒ Object

Creates an instance.

Parameters:

  • state (Hash)

    mutable instance and driver state

Raises:



41
42
43
44
45
# File 'lib/kitchen/driver/proxy.rb', line 41

def create(state)
  # TODO: Once this isn't using SSHBase, it should call `super` to support pre_create_command.
  state[:hostname] = config[:host]
  reset_instance(state)
end