Support Ubuntu 22.04 (agent and server on Python 3.10)

The server only needed Python 3.11 for tomllib. Fall back to a small
parser for the flat key = value subset the config uses, checked against
tomllib on the shipped example. Relax the installer's version check to
3.10 and list Ubuntu 22.04 as supported for agents and server.

Add status tests using uname -v / package versions captured from real
22.04.5 and 24.04.4 HWE hosts, confirming the Ubuntu build mapping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
patrickandClaude Opus 5.5 committed 2026-10-17 10:23:00 -04:00
1 parent 48f2d155af
commit 16d647cf9c
7 files changed
+92 -9

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ done
# shellcheck source=/dev/null
. /etc/os-release
case "$ID:$VERSION_ID" in
debian:12 | debian:13 | ubuntu:24.04) ;;
debian:12 | debian:13 | ubuntu:22.04 | ubuntu:24.04) ;;
*) echo "warning: untested OS $PRETTY_NAME; continuing" >&2 ;;
esac