diff options
author | baude <bbaude@redhat.com> | 2018-10-01 12:10:46 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-10-03 12:45:37 -0500 |
commit | 14473270d7af520dae006605ab798ad9db34f184 (patch) | |
tree | 3224b4b540df5adccc615f5adede8c3e3db7eb90 /libpod/container_internal.go | |
parent | 230edff5216d0a7cedeff06c891450f8691b5aa2 (diff) | |
download | podman-14473270d7af520dae006605ab798ad9db34f184.tar.gz podman-14473270d7af520dae006605ab798ad9db34f184.tar.bz2 podman-14473270d7af520dae006605ab798ad9db34f184.zip |
Add ability for ubuntu to be tested
unfortunately the papr CI system cannot test ubuntu as a VM; therefore,
this PR still keeps travis. but it does include fixes that will be required
for running on modern versions of ubuntu.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 1e49673bf..e0eb1e4c2 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -1342,3 +1342,10 @@ func (c *Container) unmount(force bool) error { return nil } + +// getExcludedCGroups returns a string slice of cgroups we want to exclude +// because runc or other components are unaware of them. +func getExcludedCGroups() (excludes []string) { + excludes = []string{"rdma"} + return +} |