# File lib/specinfra/command/linux/base/lxc_container.rb, line 10 def check_is_running(container) [ "lxc-info -n #{escape(container)} -s | grep -w RUNNING", "virsh -c lxc:/// list --all --name --state-running | grep -w '^#{escape(container)}$'" ].join(' || ') end