Fixed runc path in runtime for RedHat os family (#4731)

This commit is contained in:
Sandro Modarelli 2019-05-09 10:28:48 +02:00 committed by Kubernetes Prow Robot
parent 3776000fc4
commit 2db2898112

View file

@ -64,7 +64,7 @@ file_locking = true
# This is a mandatory setting as this runtime will be the default one # This is a mandatory setting as this runtime will be the default one
# and will also be used for untrusted container workloads if # and will also be used for untrusted container workloads if
# runtime_untrusted_workload is not set. # 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" runtime = "/usr/bin/runc"
{% else %} {% else %}
runtime = "/usr/sbin/runc" runtime = "/usr/sbin/runc"