mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 23:36:12 +00:00
Merge pull request #10416 from microsoft/danmihai1/mariner_static_sandbox_resource_mgmt
ci: static_sandbox_resource_mgmt for cbl-mariner
This commit is contained in:
commit
f13d13c8fa
@ -366,6 +366,8 @@ function install_artifacts() {
|
||||
# Allow Mariner to use custom configuration.
|
||||
if [ "${HOST_OS:-}" == "cbl-mariner" ]; then
|
||||
config_path="${host_install_dir}/share/defaults/kata-containers/configuration-clh.toml"
|
||||
sed -i -E "s|(static_sandbox_resource_mgmt)=false|\1=true|" "${config_path}"
|
||||
|
||||
clh_path="${dest_dir}/bin/cloud-hypervisor-glibc"
|
||||
sed -i -E "s|(valid_hypervisor_paths) = .+|\1 = [\"${clh_path}\"]|" "${config_path}"
|
||||
sed -i -E "s|(path) = \".+/cloud-hypervisor\"|\1 = \"${clh_path}\"|" "${config_path}"
|
||||
|
Loading…
Reference in New Issue
Block a user