Sha256: 5e65bd41fed469dd6258c8e7808235b9e5e0e69486b7ee148ddc4e539a2b2954
Contents?: true
Size: 554 Bytes
Versions: 54
Compression:
Stored size: 554 Bytes
Contents
# frozen_string_literal: true require 'log4r' module VagrantPlugins module ProviderZone module Action # This is used to start the zone class Start def initialize(app, _env) @logger = Log4r::Logger.new('vagrant_zones::action::import') @app = app end def call(env) @machine = env[:machine] @driver = @machine.provider.driver @driver.check_zone_support(env[:ui]) @driver.boot(env[:ui]) @app.call(env) end end end end end
Version data entries
54 entries across 54 versions & 1 rubygems