Sha256: 46c8273688d3f2c5a2dea9ff1956d844dcabe899a8e551adf6759861a1e813e8

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 Bytes

Contents

module LXC
  module ConfigurationOptions
    VALID_OPTIONS = [
      'lxc.utsname',
      'lxc.network.type',
      'lxc.network.flags',
      'lxc.network.link',
      'lxc.network.name',
      'lxc.network.hwaddr',
      'lxc.network.ipv4',
      'lxc.network.ipv6',
      'lxc.pts',
      'lxc.tty',
      'lxc.mount',
      'lxc.mount.entry',
      'lxc.rootfs',
      'lxc.cgroup',
      'lxc.cap.drop'
    ]

    protected

    def valid_option?(name)
      VALID_OPTIONS.include?(name) || name =~ /^lxc.cgroup/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lxc-ruby-0.3.2 lib/lxc/configuration_options.rb
lxc-ruby-0.3.1 lib/lxc/configuration_options.rb
lxc-ruby-0.2.3 lib/lxc/configuration_options.rb
lxc-ruby-0.2.2 lib/lxc/configuration_options.rb
lxc-ruby-0.2.1 lib/lxc/configuration_options.rb
lxc-ruby-0.2.0 lib/lxc/configuration_options.rb