From b2414b580e236e011d60028e645ab41096035ee3 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 27 Apr 2020 14:23:23 +0200 Subject: generate systemd Implement `podman generate systemd` for Podman v2 and enable associated tests. Signed-off-by: Valentin Rothberg --- pkg/specgen/generate/container_create.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/specgen/generate/container_create.go') diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go index bb84f0618..01ddcf9c8 100644 --- a/pkg/specgen/generate/container_create.go +++ b/pkg/specgen/generate/container_create.go @@ -76,6 +76,7 @@ func MakeContainer(ctx context.Context, rt *libpod.Runtime, s *specgen.SpecGener } options := []libpod.CtrCreateOption{} + options = append(options, libpod.WithCreateCommand()) var newImage *image.Image if s.Rootfs != "" { -- cgit v1.2.3-54-g00ecf