# File lib/vagrant-lxc/action.rb, line 190 def self.action_ssh 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] b3.use Builtin::Message, I18n.t("vagrant_lxc.messages.not_running") next end b3.use Builtin::SSHExec end end end end