Merge pull request #9535 from fidencio/topic/fix-crio-debug-drop-in

kata-deploy: Stop append `log_level = "debug"` for CRI-O
This commit is contained in:
Fabiano Fidêncio 2024-04-24 10:03:36 +02:00 committed by GitHub
commit 4e35f11a3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -341,6 +341,8 @@ function configure_crio() {
mkdir -p "$crio_drop_in_conf_dir"
rm -f "$crio_drop_in_conf_file"
touch "$crio_drop_in_conf_file"
rm -f "$crio_drop_in_conf_file_debug"
touch "$crio_drop_in_conf_file_debug"
for shim in "${shims[@]}"; do
configure_crio_runtime $shim
@ -348,7 +350,7 @@ function configure_crio() {
if [ "${DEBUG}" == "true" ]; then
cat <<EOF | tee -a $crio_drop_in_conf_file_debug
cat <<EOF | tee $crio_drop_in_conf_file_debug
[crio]
log_level = "debug"
EOF