node_e2e_installer: use runc/crun from PATH
@@ -30,20 +30,17 @@ install_crio() {
# Setup log level
echo "CONTAINER_LOG_LEVEL=debug" >>/etc/sysconfig/crio
- # Setup secondary runtime
- cat <<EOF >/etc/crio/crio.conf.d/20-runc.conf
+ cat <<EOF >/etc/crio/crio.conf.d/10-crun.conf
[crio.runtime]
-default_runtime = "runc"
[crio.runtime.runtimes]
-[crio.runtime.runtimes.runc]
- runtime_path="/usr/local/bin/runc"
+[crio.runtime.runtimes.test-handler]
EOF
- cat <<EOF >/etc/crio/crio.conf.d/10-crun.conf
+ cat <<EOF >/etc/crio/crio.conf.d/20-runc.conf
[crio.runtime]
+default_runtime = "runc"
[crio.runtime.runtimes]
-[crio.runtime.runtimes.test-handler]
- runtime_path="/usr/local/bin/crun"
+[crio.runtime.runtimes.runc]
EOF
cat <<EOF >/etc/crio/crio.conf.d/30-infra-container.conf
