mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Use systemd cgroups for Ubuntu
It seems like our VM images now support systemd CGroups with the Ubuntu LTS images. No reason to keep testing CGroupfs as such, systemd is much less racy (and CGroupfs on systemd-enabled systems can be iffy). Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:

committed by
Matthew Heon

parent
5763618ce5
commit
0934949220
@ -214,11 +214,6 @@ func PodmanTestCreateUtil(tempDir string, remote bool) *PodmanTestIntegration {
|
||||
cgroupManager = os.Getenv("CGROUP_MANAGER")
|
||||
}
|
||||
|
||||
// Ubuntu doesn't use systemd cgroups
|
||||
if host.Distribution == "ubuntu" {
|
||||
cgroupManager = "cgroupfs"
|
||||
}
|
||||
|
||||
ociRuntime := os.Getenv("OCI_RUNTIME")
|
||||
if ociRuntime == "" {
|
||||
var err error
|
||||
|
Reference in New Issue
Block a user