Sha256: 825b25a3a94b3c6c9244b828d22c5eaee0234692c03e8de48bf28079b5e3e617
Contents?: true
Size: 459 Bytes
Versions: 10
Compression:
Stored size: 459 Bytes
Contents
module Vagrant class Action module Box class Verify def initialize(app, env) @app = app @env = env end def call(env) begin env.logger.info "Verifying box..." VirtualBox::Appliance.new(env["box"].ovf_file) rescue Exception return env.error!(:box_verification_failed) end @app.call(env) end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems