Sha256: c3d9f31af7e7ef88bd88641547e0b9035cc0fc804f8ce7c53238d4e7dc8d4502
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true require 'log4r' module VagrantPlugins module ProviderLocal module Action # This is used to start the instance class Start def initialize(app, _env) @logger = Log4r::Logger.new('vagrant_local::action::start') @app = app end def call(env) @machine = env[:machine] @driver = @machine.provider.driver @driver.check_support(env[:ui]) @driver.boot(env[:ui]) @app.call(env) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-local-0.0.3 | lib/vagrant-local/action/start.rb |
vagrant-local-0.0.2 | lib/vagrant-local/action/start.rb |
vagrant-local-0.0.1 | lib/vagrant-local/action/start.rb |