From 2db289811261d90cdb335307a3ff43785fdca45a Mon Sep 17 00:00:00 2001 From: Sandro Modarelli <19608212+sandromodarelli@users.noreply.github.com> Date: Thu, 9 May 2019 10:28:48 +0200 Subject: [PATCH] Fixed runc path in runtime for RedHat os family (#4731) --- roles/container-engine/cri-o/templates/crio.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/container-engine/cri-o/templates/crio.conf.j2 b/roles/container-engine/cri-o/templates/crio.conf.j2 index 33abfe828..45d02696e 100644 --- a/roles/container-engine/cri-o/templates/crio.conf.j2 +++ b/roles/container-engine/cri-o/templates/crio.conf.j2 @@ -64,7 +64,7 @@ file_locking = true # This is a mandatory setting as this runtime will be the default one # and will also be used for untrusted container workloads if # runtime_untrusted_workload is not set. -{% if ansible_os_family == "ClearLinux" %} +{% if ansible_os_family == "ClearLinux" or ansible_os_family == "RedHat" %} runtime = "/usr/bin/runc" {% else %} runtime = "/usr/sbin/runc"