mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 14:58:16 +00:00
runtime-rs: Add new runtimeClass qemu-se-runtime-rs
When `KATA_HYPERVISOR` is set to `qemu-se-runtime-rs`, a configuration file is properly referenced and a runtime class should be created via kata-deploy. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
@@ -237,7 +237,7 @@ function get_kata_containers_config_path() {
|
||||
# Map the runtime shim name to the appropriate configuration
|
||||
# file directory.
|
||||
case "$shim" in
|
||||
cloud-hypervisor | dragonball | qemu-runtime-rs) config_path="$rust_config_path" ;;
|
||||
cloud-hypervisor | dragonball | qemu-runtime-rs | qemu-se-runtime-rs) config_path="$rust_config_path" ;;
|
||||
*) config_path="$golang_config_path" ;;
|
||||
esac
|
||||
|
||||
@@ -249,7 +249,7 @@ function get_kata_containers_runtime_path() {
|
||||
|
||||
local runtime_path
|
||||
case "$shim" in
|
||||
cloud-hypervisor | dragonball | qemu-runtime-rs)
|
||||
cloud-hypervisor | dragonball | qemu-runtime-rs | qemu-se-runtime-rs)
|
||||
runtime_path="${dest_dir}/runtime-rs/bin/containerd-shim-kata-v2"
|
||||
;;
|
||||
*)
|
||||
|
Reference in New Issue
Block a user