Sha256: d795e64da0cd5b9bcfad0dcc92c8772db6b9fd1f79921a755b94d1476dc7f92e
Contents?: true
Size: 639 Bytes
Versions: 25
Compression:
Stored size: 639 Bytes
Contents
require 'veewee/provider/core/box' require 'veewee/provider/core/box/vnc' require 'veewee/provider/kvm/box/validate_kvm' module Veewee module Provider module Kvm module BoxCommand # Type on the console def console_type(sequence,type_options={}) tcp_port=@connection.servers.all(:name => name).first.display[:port] display_port=tcp_port.to_i - 5900 ui.success "Sending keystrokes to VNC port :#{display_port} - TCP port: #{tcp_port}" vnc_type(sequence,"127.0.0.1",display_port) end end # End Module end # End Module end # End Module end # End Module
Version data entries
25 entries across 25 versions & 2 rubygems