Sha256: f51fee55cffd2b9cb99d82adb7a4d013e10aafebc09efca5a3553130e87b03a8
Contents?: true
Size: 571 Bytes
Versions: 23
Compression:
Stored size: 571 Bytes
Contents
module Veewee module Provider module Vmfusion module BoxCommand # This function 'adds a share' the box based on the definition def add_share(share_name, share_path) shell_exec("#{(vmrun_cmd).shellescape} -T fusion addSharedFolder #{vmx_file_path.shellescape} '#{share_name}' #{::File.expand_path(share_path).shellescape}") end def add_share_from_defn definition.add_shares.each do |share_name, share_path| add_share(share_name, share_path) end end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems