From 02e0b698c58f0e3a7ce6822fcda319d82c0fc631 Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Wed, 16 Sep 2026 16:48:44 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=20cloud-init=20Runner=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=20HOME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/gitea-microvm-guest-runner | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gitea-microvm-guest-runner b/scripts/gitea-microvm-guest-runner index 3b4d076..041e33f 100755 --- a/scripts/gitea-microvm-guest-runner +++ b/scripts/gitea-microvm-guest-runner @@ -7,6 +7,7 @@ runner_name=${3:?runner name is required} runner_labels=${4:?runner labels are required} token_file=/run/gitea-runner-registration-token config_file=${GITEA_RUNNER_CONFIG_FILE:-/etc/gitea-runner/config-vm-bootstrap.yaml} +export HOME=${HOME:-/root} cleanup() { rm -f -- "$token_file"