Sha256: 9e2f56619c9c81e90cd7ed4e1ac80ca721a9dbe3e2b16b38a87fe4c31662f6d8

Contents?: true

Size: 510 Bytes

Versions: 4

Compression:

Stored size: 510 Bytes

Contents

module Veewee
  module Provider
    module Virtualbox
      module BoxCommand

        def build(options={})

          super(options)

          unless definition.floppy_files.nil?
            unless self.shell_exec("java -version").status == 0
              raise Veewee::Error,"This box contains floppyfiles, to create it you require to have java installed or have it in your path"
            end
          end

          download_vbox_guest_additions_iso(options)
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veewee-0.3.5 lib/veewee/provider/virtualbox/box/build.rb
veewee-0.3.4 lib/veewee/provider/virtualbox/box/build.rb
veewee-0.3.3 lib/veewee/provider/virtualbox/box/build.rb
veewee-0.3.2 lib/veewee/provider/virtualbox/box/build.rb