mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 04:18:53 +00:00
kata-deploy: Add cloud-hypervisor
Now that we have a separate Cloud Hypervisor configuration file for the rust runtime, add it to the kata-deploy. See: https://github.com/kata-containers/kata-containers/pull/8250 Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
d4e00238ab
commit
158ca17ae7
@@ -134,7 +134,7 @@ function get_kata_containers_config_path() {
|
||||
# Map the runtime shim name to the appropriate configuration
|
||||
# file directory.
|
||||
case "$shim" in
|
||||
dragonball) config_path="$rust_config_path" ;;
|
||||
cloud-hypervisor | dragonball) config_path="$rust_config_path" ;;
|
||||
*) config_path="$golang_config_path" ;;
|
||||
esac
|
||||
|
||||
@@ -247,7 +247,7 @@ function configure_different_shims_base() {
|
||||
# Map the runtime shim name to the appropriate
|
||||
# containerd-shim-kata-v2 binary
|
||||
case "$shim" in
|
||||
dragonball)
|
||||
cloud-hypervisor | dragonball)
|
||||
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