mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 06:48:51 +00:00
kata-deploy: add qemu-runtime-rs runtimeClass
Allow kata-deploy to install and configure the qemu-runtime-rs runtimeClass which ties to qemu hypervisor implementation in rust for the runtime-rs. Fixes: #9804 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
@@ -151,7 +151,7 @@ function get_kata_containers_config_path() {
|
||||
# Map the runtime shim name to the appropriate configuration
|
||||
# file directory.
|
||||
case "$shim" in
|
||||
cloud-hypervisor | dragonball) config_path="$rust_config_path" ;;
|
||||
cloud-hypervisor | dragonball | qemu-runtime-rs) config_path="$rust_config_path" ;;
|
||||
*) config_path="$golang_config_path" ;;
|
||||
esac
|
||||
|
||||
@@ -360,7 +360,7 @@ function configure_different_shims_base() {
|
||||
# Map the runtime shim name to the appropriate
|
||||
# containerd-shim-kata-v2 binary
|
||||
case "$shim" in
|
||||
cloud-hypervisor | dragonball)
|
||||
cloud-hypervisor | dragonball | qemu-runtime-rs)
|
||||
ln -sf /opt/kata/runtime-rs/bin/containerd-shim-kata-v2 "${shim_file}" ;;
|
||||
*)
|
||||
ln -sf /opt/kata/bin/containerd-shim-kata-v2 "${shim_file}" ;;
|
||||
|
Reference in New Issue
Block a user