Sha256: 82ae5698db740f34b64c2632531e4675ca70fce5eaed9f88b408f9861a953b26

Contents?: true

Size: 474 Bytes

Versions: 9

Compression:

Stored size: 474 Bytes

Contents

module Veewee
  module Provider
    module Virtualbox
      module BoxCommand

        def winrm_options
          build_winrm_options.tap do |options|
            port=definition.winrm_host_port
            if self.exists?
              forward=self.forwarding("guestwinrm")
              unless forward.nil?
                port=forward[:host_port]
              end
            end
            options[:port] = port
          end
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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