Sha256: 554a331d8c849287ac297c348273cbe1f7774dae3c1f8a8426036c1db5f361d5
Contents?: true
Size: 601 Bytes
Versions: 13
Compression:
Stored size: 601 Bytes
Contents
require "log4r" module VagrantPlugins module Skytap module Action # Runs the Skytap VM. class RunVm include Vagrant::Util::Retryable attr_reader :env def initialize(app, env) @app = app @env = env @logger = Log4r::Logger.new("vagrant_skytap::action::run_vm") end def call(env) env[:ui].info(I18n.t("vagrant_skytap.launching_vm")) environment.current_vm.run! @app.call(env) end def environment env[:environment] end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems