podman
podman copied to clipboard
Handle default system connection transfer properly on machine removal
Changes system connection removal so the following case now works as expected:
- Rootless podman machine 1 is initialized and running.
- Rootful podman machine 2 is initialized.
- Delete podman machine 1.
- The rootful system connection associated with podman machine 2 now becomes the default, not the rootless.
Fixes: #22577
Does this PR introduce a user-facing change?
When a user has a rootless machine running and another rootful podman machine initialized, and the rootless machine is removed, the rootful system connection associated with the podman machine now becomes the default as expected.
ok , LGTM (one question)
Ephemeral COPR build failed. @containers/packit-build please check.
~something's wrong with my macOS env... I don't think this will end up passing the test. Looking into it~
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jakecorrenti, Luap99
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [Luap99,jakecorrenti]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment