Add configuration for specifying cgroup manager

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2016-12-19 15:01:27 -08:00
parent a7190853b6
commit edad8f866d
3 changed files with 17 additions and 0 deletions

View file

@ -72,6 +72,10 @@ type RuntimeConfig struct {
// ApparmorProfile is the apparmor profile name which is used as the
// default for the runtime.
ApparmorProfile string `toml:"apparmor_profile"`
// CgroupManager is the manager implementation name which is used to
// handle cgroups for containers.
CgroupManager string `toml:"cgroup_manager"`
}
// ImageConfig represents the "ocid.image" TOML config table.