Sha256: 674a1117d678caa7155f5dee240d470ed4a18f62fd975edf47bcb10356de251d

Contents?: true

Size: 736 Bytes

Versions: 7

Compression:

Stored size: 736 Bytes

Contents

module Veewee
  module Provider
    module Virtualbox
      module BoxCommand

        def build_info
          info=super
          info << { :filename => ".vbox_version",
                    :content => "#{self.vbox_version}" }
        end

         # Transfer information provide by the provider to the box
         #
         #
         def transfer_buildinfo(options)
           super(options)
           iso_image="VBoxGuestAdditions_#{self.vbox_version}.iso"
           env.logger.info "About to transfer virtualbox guest additions iso to the box #{name} - #{ip_address} - #{ssh_options}"
           self.scp("#{File.join(env.config.veewee.iso_dir,iso_image)}",File.basename(iso_image))
         end

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
veewee-0.3.0.beta2 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb
veewee-0.3.0.beta1 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb
veewee-0.3.0.alpha9 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb
veewee-0.3.0.alpha8 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb
veewee-0.3.0.alpha7 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb
veewee-0.3.0.alpha6 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb
veewee-0.3.0.alpha5 lib/veewee/provider/virtualbox/box/helper/buildinfo.rb