Steuerzeichen in Textanzeigen, veralteter Anmeldehinweis, Image-Name

Drei Dinge aus einem Bildschirmfoto des laufenden Systems:

1. In jeder Textanzeige standen rohe Steuerzeichen (^[[1mImage^[[0m).
   Die Farbvariablen werden beim Laden von common.sh einmal festgelegt -
   das NO_COLOR beim spaeteren Aufruf wirkte deshalb nicht mehr. Statt
   an jeder Aufrufstelle zu flicken, entfernt jetzt _ui_file die
   Sequenzen; das greift fuer ALLE Textanzeigen, auch die von ui_run.

2. Der Status nannte weiterhin "Erstlogin: admin@example.com /
   changeme". Diese Zugangsdaten gibt es seit NPM 2.15 nicht mehr -
   genau das war hier schon Thema. Er zeigt jetzt NPM_ADMIN_EMAIL, und
   weist darauf hin, wenn kein Konto hinterlegt ist.

3. Ein aus dem Tarball geladenes Image heisst nicht
   "localhost/checkmk/..." wie von mir dokumentiert, sondern
   "docker.io/checkmk/check-mk-enterprise:2.4.0p9" - Podman ergaenzt den
   unqualifizierten Namen aus dem Archiv um docker.io, obwohl es das
   Image dort nicht gibt. Beides in beiden Sprachfassungen
   richtiggestellt, mit dem Hinweis, dass das harmlos ist: lokal ist es
   da, "up" nutzt es, nur pullen liesse es sich so nicht - dafuer gibt
   es "image get".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-20 19:08:43 +02:00
co-authored by Claude Opus 5
parent 4d2e234c36
commit 22331ff114
4 changed files with 38 additions and 5 deletions
+10 -2
View File
@@ -944,7 +944,7 @@ sudo ./scripts/cmk-manage.sh image load --file /root/check-mk-enterprise-2.3.0p2
```
In all three cases the script determines the **actual** image name (for `load`
typically `localhost/checkmk/check-mk-enterprise:2.3.0p23`) and writes it to
typically `docker.io/checkmk/check-mk-enterprise:2.4.0p9`) and writes it to
`CMK_IMAGE` in `.env`. Afterwards:
```bash
@@ -968,9 +968,17 @@ you obtained it, the very same version looks completely different:
```
docker.io/checkmk/check-mk-raw:2.3.0-latest (Docker Hub)
registry.checkmk.com/enterprise/check-mk-enterprise:2.3.0p9 (registry)
localhost/checkmk/check-mk-enterprise:2.3.0p9 (loaded from a tarball)
docker.io/checkmk/check-mk-enterprise:2.4.0p9 (loaded from a tarball)
```
> **The name after `image download` is surprising.** The tarball carries the
> unqualified name `checkmk/check-mk-enterprise:<version>` internally, and
> Podman expands that to `docker.io/` when loading – even though the image does
> not exist there. That is correct and harmless: the image is local and `up`
> uses it. It just could not be **pulled** under that name. Should it ever go
> missing, `image get` fetches it from the download portal again – not via
> `podman pull`.
So `CMK_IMAGE` records what **actually applies**. It is written by
`image pull`, `image download`, `image load` and `image use` – you never have to
type anything there by hand. In the interface the three values are therefore not