Sha256: ad3df6e9c012bb75c5ae55a93bbed5a59442cf6a40a44675cdc7c665b7460569
Contents?: true
Size: 797 Bytes
Versions: 14
Compression:
Stored size: 797 Bytes
Contents
module Veewee module Provider module Virtualbox module BoxCommand def winrm_options port=definition.winrm_host_port if self.exists? forward=self.forwarding("guestwinrm") unless forward.nil? port=forward[:host_port] end end winrm_options={ :user => definition.winrm_user, :pass => definition.winrm_password, :port => port, # :port => (port.to_i+1).to_s, # debug, by running charles with a reverse proxy :basic_auth_only => true, :timeout => definition.winrm_login_timeout.to_i, :operation_timeout => 600 # ten minutes } return winrm_options end end end end end
Version data entries
14 entries across 14 versions & 2 rubygems