Skip to content
Snippets Groups Projects
Commit f5aec8ad authored by Victor Morales's avatar Victor Morales Committed by Kubernetes Prow Robot
Browse files

Fix runc absolute path (#4542)

The BINDIR variable defined on the runc's Makefile[1] defines
installation path is on $(PREFIX)/sbin which used for most of the
Linux distributions. This change fixes the absolute path used for
non-ClearLinux distributions (CentOS, Ubuntu).

[1] https://github.com/opencontainers/runc/blob/master/Makefile#L10
parent f92309bf
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,11 @@ 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" %}
runtime = "/usr/bin/runc"
{% else %}
runtime = "/usr/sbin/runc"
{% endif %}
# runtime_untrusted_workload is the OCI compatible runtime used for untrusted
# container workloads. This is an optional setting, except if
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment