Sha256: 20154c0cad69030d6f4e0f5183615d725a09695a1564835b94904a8191582978
Contents?: true
Size: 642 Bytes
Versions: 82
Compression:
Stored size: 642 Bytes
Contents
module VagrantPlugins module ProviderVirtualBox module Action class CheckAccessible def initialize(app, env) @app = app end def call(env) if env[:machine].state.id == :inaccessible # The VM we are attempting to manipulate is inaccessible. This # is a very bad situation and can only be fixed by the user. It # also prohibits us from actually doing anything with the virtual # machine, so we raise an error. raise Vagrant::Errors::VMInaccessible end @app.call(env) end end end end end
Version data entries
82 entries across 75 versions & 13 rubygems