Sha256: 0cc84822a4328ed35b152ef0257a342e0aefe3bac57cde39113060e76e07d26e

Contents?: true

Size: 315 Bytes

Versions: 271

Compression:

Stored size: 315 Bytes

Contents

class Specinfra::Command::Linux::Base::LxcContainer < Specinfra::Command::Base::LxcContainer
  class << self
    def check_exists(container)
      "lxc-ls -1 | grep -w #{escape(container)}"
    end

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

Version data entries

271 entries across 271 versions & 3 rubygems

Version Path
specinfra-rb19-2.44.7 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.63.2 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.63.1 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.63.0 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.62.0 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.61.3 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.61.2 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.61.1 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.61.0 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.60.4 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.60.3 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.60.2 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.60.1 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.60.0 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.59.6 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.59.5 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.59.4 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.59.3 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.59.2 lib/specinfra/command/linux/base/lxc_container.rb
specinfra-2.59.1 lib/specinfra/command/linux/base/lxc_container.rb