Method: Specinfra::Command::Linux::Base::LxcContainer.check_is_running

Defined in:
lib/specinfra/command/linux/base/lxc_container.rb

.check_is_running(container) ⇒ Object

[View source]

7
8
9
# File 'lib/specinfra/command/linux/base/lxc_container.rb', line 7

def check_is_running(container)
  "lxc-info -n #{escape(container)} -s | grep -w RUNNING"
end