CentOS Linux (legacy)
Uses the same SSH mechanism, credentials, and host key verification as
the SSH-based OS identification
family, but reads a different file: /etc/redhat-release, not
/etc/os-release.
targets: - id: centos-host product: centos address: host.example.com credentials: linux-host-sshWhy not the os-release family
Section titled “Why not the os-release family”This is legacy, already-EOL CentOS Linux (5/6/7/8) — as opposed to
CentOS Stream, its still-current
successor. Confirmed live that CentOS 5 and 6 predate the systemd
os-release convention entirely (no /etc/os-release at all), while
/etc/redhat-release has existed across the whole RHEL family since
long before that. Real fleets still run these — CentOS reaching EOL
doesn’t retire the machines still running it, which is exactly the
situation enodia exists to surface, not paper over.
Verified live across centos:5 ("CentOS release 5.11 (Final)"),
:6 ("CentOS release 6.10 (Final)"), and :7 ("CentOS Linux release 7.9.2009 (Core)"). A CentOS Stream 9 host’s own /etc/redhat-release
("CentOS Stream release 9") does not match this pattern — the
match requires “CentOS release” or “CentOS Linux release” immediately
after “CentOS “, so a Stream instance is never misidentified as legacy
centos, even though both files exist on both product lines.
Recorded fields
Section titled “Recorded fields”version— the release number parsed out of/etc/redhat-releaseextra.hostKeyVerified
Lifecycle resolver
Section titled “Lifecycle resolver”endoflife:centos.