Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Sep 2, 2024
1 parent 979b2ad commit 99f8286
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,14 @@ jobs:
id: runh-crio-setup
shell: sudo bash --noprofile --norc -eo pipefail {0}
run: |
sed -i 's/\[crio.runtime.runtimes.runc\]/\[crio.runtime.runtimes.runh\]\nruntime_path = ""\nruntime_type = "oci"\nruntime_root = "\/run\/runh"\nmonitor_path = "\/usr\/libexec\/crio\/conmon"\nprivileged_without_host_devices = false\n\n\[crio.runtime.runtimes.runc\]/g' /etc/crio/crio.conf
sudo tee /etc/crio/crio.conf.d/00-runh.conf << EOF
[crio.runtime.runtimes.runh]
runtime_path = ""
runtime_type = "oci"
runtime_root = "/run/runh"
monitor_path = "/usr/libexec/crio/conmon"
privileged_without_host_devices = false
EOF
systemctl restart crio || systemctl status crio
>&2 cat /etc/crio/crio.conf
- name: Test runh standalone
Expand Down

0 comments on commit 99f8286

Please sign in to comment.