-
Notifications
You must be signed in to change notification settings - Fork 49
/
config.rb
20 lines (19 loc) · 927 Bytes
/
config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
actions :create, :delete
default_action :create
attribute :container, kind_of: String, default: nil # alias for utsname
attribute :utsname, kind_of: String, default: nil # defaults to resource name
attribute :aa_profile, kind_of: String, default: nil # platform specific?
attribute :network, kind_of: [Array, Hash]
attribute :default_bridge, kind_of: String
attribute :static_ip, kind_of: String
attribute :pts, kind_of: Numeric, default: 1024
attribute :tty, kind_of: Numeric, default: 4
attribute :arch, kind_of: String, default: 'amd64'
attribute :devttydir, kind_of: String, default: 'lxc'
attribute :cgroup, kind_of: Hash, default: Mash.new
attribute :cap_drop, kind_of: [String, Array], default: %w(sys_module mac_admin)
attribute :mount, kind_of: String
attribute :mount_entry, kind_of: String
attribute :rootfs, kind_of: [String, Pathname]
attribute :rootfs_mount, kind_of: String
attribute :pivotdir, kind_of: String