fix: short host name for the instance label; AI VM images 683a2de

GCE의 hostname은 FQDN이라 Mimir의 instance 라벨이 legacy-2n1c.asia-northeast1-b.c....internal로
들어왔다(실측). hostname -s로 VM 이름만 쓴다. vm/ai-env/image.tag를 683a2de(hitl 진단 보존 수정)로.
This commit is contained in:
seon committed 2026-10-08 01:57:04 +09:00
1 parent a500c3d40c
commit 4f3188b491
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ umask 077
cat > /etc/default/alloy <<ENV
CONFIG_FILE="/etc/alloy/config.alloy"
CUSTOM_ARGS="--server.http.listen-addr=127.0.0.1:12345 --storage.path=/var/lib/alloy/data"
INSTANCE="$(hostname)"
INSTANCE="$(hostname -s)"
PG_DSN="postgresql://harness:${PGPASSWORD}@${IP}:5432/app?sslmode=require"
ENV
unset PGPASSWORD