diff --git a/packages/kata-debug-shell.sh b/packages/kata-debug-shell.sh index 7b12f69cd7..86acbffd43 100644 --- a/packages/kata-debug-shell.sh +++ b/packages/kata-debug-shell.sh @@ -20,6 +20,6 @@ sbx_id=$(echo "$container_info" | jq -r '.Spec.annotations."io.kubernetes.cri.sa runtime_class_name=$(echo "$container_info" | jq -r '.Snapshotter' | cut -c7-) kata_runtime="/opt/edgeless/${runtime_class_name}/bin/kata-runtime" -config_file=$(ls -1 "/opt/edgeless/${runtime_class_name}/etc") +config_file=/opt/edgeless/${runtime_class_name}/etc/configuration-*.toml ${kata_runtime} --config "/opt/edgeless/${runtime_class_name}/etc/${config_file}" exec ${sbx_id}