agent: disable detect_initdata_device

Disable detect_initdata_device for the AKS-Kata Agent. This feature was
unused but caused the execution of a non-trivial amount of code and
many log entries during Agent init.

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
Dan Mihai
2025-12-03 01:43:49 +00:00
committed by Aurélien Bombo
parent 32cbf4aec2
commit 07fd3ffd77

View File

@@ -54,6 +54,8 @@ agent_make_flags="LIBC=gnu OPENSSL_NO_VENDOR=Y DESTDIR=${AGENT_INSTALL_DIR} BUIL
if [ "${CONF_PODS}" == "yes" ]; then
agent_make_flags+=" AGENT_POLICY=yes"
else
agent_make_flags+=" INIT_DATA=no"
fi
pushd "${repo_dir}"