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

Version Path
veewee-0.5.0.alpha4 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.5.0.alpha3 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.5.0.alpha2 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.5.0.alpha1 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.5.1 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.5 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.5.pre1 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.4 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.3 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.2 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.1 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.4.0 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.12 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.11 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.10 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.9 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-atlassian-0.3.11 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.7 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.6 lib/veewee/provider/kvm/box/helper/console_type.rb
veewee-0.3.5 lib/veewee/provider/kvm/box/helper/console_type.rb