Quadlet - use the default runtime

Do not set the runtime when processing a .container file
Let Podman choose the runtime based on its configuration

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2023-02-22 09:36:20 +02:00
parent 1eccb010db
commit 0d75854c52
3 changed files with 3 additions and 6 deletions

View File

@ -319,11 +319,9 @@ func ConvertContainer(container *parser.UnitFile, isUser bool) (*parser.UnitFile
handleLogDriver(container, ContainerGroup, podman)
// We use crun as the runtime and delegated groups to it
// We delegate groups to the runtime
service.Add(ServiceGroup, "Delegate", "yes")
podman.add(
"--runtime", "crun",
"--cgroups=split")
podman.add("--cgroups=split")
timezone, ok := container.Lookup(ContainerGroup, KeyTimezone)
if ok && len(timezone) > 0 {