mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
incusd/sys: Remove cgroup1 support
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
parent
aec0b124d9
commit
5dd5ccbe31
@ -79,9 +79,6 @@ type OS struct {
|
||||
SELinuxContextDaemon string
|
||||
SELinuxContextInstanceLXC string
|
||||
|
||||
// Cgroup features
|
||||
CGInfo cgroup.Info
|
||||
|
||||
// Kernel features
|
||||
CloseRange bool // CloseRange indicates support for the close_range syscall.
|
||||
ContainerCoreScheduling bool // ContainerCoreScheduling indicates LXC and kernel support for core scheduling.
|
||||
@ -190,7 +187,6 @@ func (s *OS) Init() ([]cluster.Warning, error) {
|
||||
dbWarnings = append(dbWarnings, s.initAppArmor()...)
|
||||
dbWarnings = append(dbWarnings, s.initSELinux()...)
|
||||
cgroup.Init()
|
||||
s.CGInfo = cgroup.GetInfo()
|
||||
|
||||
// Fill in the OS release info.
|
||||
osInfo, err := osarch.GetOSRelease()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user