cloud-init final_message: no $hostname (not expanded there; warned on every deploy)
CI / agent (push) Successful in 3s
CI / site (push) Successful in 2s
CI / go (push) Successful in 36s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-28 20:01:11 +01:00
1 parent e2102e1741
commit 0c6f6557db
1 file changed
+1 -1
+1 -1
View File
@@ -286,7 +286,7 @@ func (a *App) renderSeed(j *Job, sp DeploySpec, token string) []seedFile {
fmt.Fprintf(&b, "packages: %s\n", yamlList(sp.Packages))
}
fmt.Fprintf(&b, "phone_home:\n url: %s/api/v1/phone-home/%s\n post: [instance_id, hostname, fqdn, pub_key_ed25519]\n tries: 10\n", base, token)
b.WriteString("final_message: \"rollcall: deployed $hostname up after $UPTIME s\"\n")
b.WriteString("final_message: \"rollcall: deployed, up after $UPTIME s\"\n") // only $UPTIME/$TIMESTAMP/$DATASOURCE/$VERSION are expanded
ud = b.String()
}
var frags []TagDef