Sha256: 2a4385c31b858053a1dcf8c2bd7a745650df54bfc20611cfde7b14cab47279e5
Contents?: true
Size: 603 Bytes
Versions: 20
Compression:
Stored size: 603 Bytes
Contents
module Veewee module Provider module Virtualbox module BoxCommand def ssh_options port=definition.ssh_host_port if self.exists? forward=self.forwarding("guestssh") unless forward.nil? port=forward[:host_port] end end ssh_options={ :user => definition.ssh_user, :port => port, :password => definition.ssh_password, :timeout => definition.ssh_login_timeout.to_i } return ssh_options end end end end end
Version data entries
20 entries across 20 versions & 2 rubygems