Skip to content

Commit a74f877

Browse files
committed
fix(publish): the audit expects the rebrand's default hostname
21f93f9 moved the default hostname for new installs to kumaos — the system says kumaOS wherever a person reads its name — and the goldens and the generator moved with it. The audit's expectation did not, and 44.4.0 is the first image built since, so the publish refused its own rebrand. Any other value still fails: it names the machine that built this.
1 parent 45f08f1 commit a74f877

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎scripts/publish-audit.sh‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ else
7777
ok "no baked user declaration"
7878
fi
7979

80-
# kuma's default when the declaration pins nothing. Any other value came
81-
# from a declaration and names somebody's machine.
80+
# kumaos: the default hostname since the rebrand (21f93f9) — the system
81+
# says kumaOS wherever a person reads its name, and new installs follow.
82+
# Any other value came from a declaration and names somebody's machine.
8283
host=$(cat "$mnt/etc/hostname" 2>/dev/null || echo "<missing>")
83-
if [ "$host" = "kuma" ]; then
84-
ok "hostname is the default (kuma)"
84+
if [ "$host" = "kumaos" ]; then
85+
ok "hostname is the default (kumaos)"
8586
else
8687
bad "hostname is '$host', not the default" "it names the machine that built this"
8788
fi

0 commit comments

Comments
 (0)