Sha256: 52a88d5eb1dd7aafef5da27842d0a2c6d97387cefd8885640040451a71c9b3cc

Contents?: true

Size: 468 Bytes

Versions: 11

Compression:

Stored size: 468 Bytes

Contents

module Veewee
  module Provider
    module Virtualbox
      module BoxCommand

        def ssh_options
          build_ssh_options.tap do |options|
            port = definition.ssh_host_port
            if self.exists?
              forward=self.forwarding("guestssh")
              unless forward.nil?
                port=forward[:host_port]
              end
            end
            options[:port] = port
          end
        end

      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.5.0.alpha3 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.5.0.alpha2 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.5.0.alpha1 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.5.1 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.5 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.5.pre1 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.4 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.3 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.2 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.4.1 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb