spiegel_podman/cmd
Brent Baude aba2df7517 Add podman machine os upgrade command
Implements automatic OS upgrade functionality for Podman machines that requires no user input beyond running the command. The upgrade logic automatically determines the appropriate upgrade path using a three-way comparison between client version, machine version, and OCI registry:

* When the client version is older than the machine version, no action is taken and an error is returned.
* When the client version matches the machine version, the OCI registry is queried to check for in-band updates by comparing image digests.  This handles minor, patch level, and updates oci image use cases.
* When the client version is newer than the machine version, the machine is upgraded to match the client's major.minor version.
* No manual image selection or version specification required.

The command supports dry-run mode and JSON (only) output format for automation.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-01-16 14:14:06 -06:00
..
podman Add podman machine os upgrade command 2026-01-16 14:14:06 -06:00
podman-mac-helper enable gofumpt formatter 2025-11-11 12:32:46 +01:00
podman-testing Fix missing newlines in stderr error messages 2025-12-17 07:36:04 -05:00
podman-wslkerninst enable gofumpt formatter 2025-11-11 12:32:46 +01:00
quadlet enable gofumpt formatter 2025-11-11 12:32:46 +01:00
rootlessport fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
winpath use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00