From 07fd3ffd77c6498f722adac389312d47f445135f Mon Sep 17 00:00:00 2001 From: Dan Mihai Date: Wed, 3 Dec 2025 01:43:49 +0000 Subject: [PATCH] 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 --- tools/osbuilder/node-builder/azure-linux/package_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/osbuilder/node-builder/azure-linux/package_build.sh b/tools/osbuilder/node-builder/azure-linux/package_build.sh index bd2c6ae9c2..c7443e8124 100755 --- a/tools/osbuilder/node-builder/azure-linux/package_build.sh +++ b/tools/osbuilder/node-builder/azure-linux/package_build.sh @@ -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}"