# File lib/vagrant-libvirt/action/is_running.rb, line 11 def call(env) domain = env[:machine].provider.driver.connection.servers.get(env[:machine].id.to_s) raise Errors::NoDomainError if domain.nil? env[:result] = domain.state.to_s == 'running' @app.call(env) end