Method: Specinfra::Command::Linux::Base::LxcContainer.check_exists
- Defined in:
- lib/specinfra/command/linux/base/lxc_container.rb
permalink .check_exists(container) ⇒ Object
[View source]
3 4 5 |
# File 'lib/specinfra/command/linux/base/lxc_container.rb', line 3 def check_exists(container) "lxc-ls -1 | grep -w #{escape(container)}" end |