Merge pull request #10000 from littlejawa/kata_deploy_add_storage_config_for_crio

kata-deploy: add storage configuration for cri-o
This commit is contained in:
Greg Kurz 2024-07-15 12:29:21 +02:00 committed by GitHub
commit 203d9e7803
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -465,11 +465,19 @@ function configure_crio() {
rm -f "$crio_drop_in_conf_file_debug"
touch "$crio_drop_in_conf_file_debug"
# configure storage option for crio
cat <<EOF | tee -a "$crio_drop_in_conf_file"
[crio]
storage_option = [
"overlay.skip_mount_home=true",
]
EOF
# configure runtimes for crio
for shim in "${shims[@]}"; do
configure_crio_runtime $shim
done
if [ "${DEBUG}" == "true" ]; then
cat <<EOF | tee $crio_drop_in_conf_file_debug
[crio.runtime]