diff options
-rw-r--r-- | cmd/podman/common/specgen.go | 1 | ||||
-rw-r--r-- | test/e2e/run_test.go | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go index fda11c0af..e14fd78b4 100644 --- a/cmd/podman/common/specgen.go +++ b/cmd/podman/common/specgen.go @@ -449,6 +449,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string } s.CgroupParent = c.CGroupParent s.CgroupsMode = c.CGroupsMode + s.Groups = c.GroupAdd // TODO WTF //cgroup := &cc.CgroupConfig{ // Cgroupns: c.String("cgroupns"), diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 735fc1d5d..6386b8a70 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -566,7 +566,6 @@ var _ = Describe("Podman run", func() { }) It("podman run with group-add", func() { - Skip(v2fail) SkipIfRootless() session := podmanTest.Podman([]string{"run", "--rm", "--group-add=audio", "--group-add=nogroup", "--group-add=777", ALPINE, "id"}) session.WaitWithDefaultTimeout() |