class Specinfra::Command::Linux::Base::LxcContainer
Public Class Methods
check_exists(container)
click to toggle source
# File lib/specinfra/command/linux/base/lxc_container.rb, line 3 def check_exists(container) "lxc-ls -1 | grep -w #{escape(container)}" end
check_is_running(container)
click to toggle source
# 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