# File lib/vagrant-lxc/action.rb, line 212 def self.action_ssh_run Builder.new.tap do |b| b.use Builtin::ConfigValidate b.use Builtin::Call, Builtin::IsState, :not_created do |env, b2| if env[:result] b2.use Builtin::Message, I18n.t("vagrant_lxc.messages.not_created") next end b2.use Builtin::Call, Builtin::IsState, :running do |env1, b3| if !env1[:result] raise Vagrant::Errors::VMNotRunningError next end b3.use Builtin::SSHRun end end end end