From d0f39443ce9bed52a254665916b2ff99351dbad7 Mon Sep 17 00:00:00 2001 From: Audiobuzz Date: Sun, 5 Jul 2026 06:36:18 +0000 Subject: [PATCH] fleet-agent: fix 2b-agent config staging (build failed) The 2b-agent provisioner installed agent.env from /tmp/etc-stage, but the 2a package step deletes /tmp/etc-stage before 2b runs, so the build failed with "cannot stat '/tmp/etc-stage/fleet-agent/agent.env'". 2b-hostapi avoids this by installing from its own upload dir; do the same: move agent.env into files/agent/ so it rides the agent's file upload (/tmp/agent), which survives until 2b-agent cleans it. Runtime path (/etc/fleet-agent/agent.env) is unchanged. --- files/{etc/fleet-agent => agent}/agent.env | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename files/{etc/fleet-agent => agent}/agent.env (100%) diff --git a/files/etc/fleet-agent/agent.env b/files/agent/agent.env similarity index 100% rename from files/etc/fleet-agent/agent.env rename to files/agent/agent.env