spiegel_podman/cmd
Lokesh Mandvekar 73ef7cfcdc
Remove CNI backend from CLI options and completions
Remove user-facing CLI options for CNI network backend:

CLI flags:
- Keep --network-backend global flag as hidden and deprecated for
  backward compatibility with cleanup commands from 5.x containers
- Map flag to a throwaway variable (value is ignored)
- Remove shell completion for network backend values

Shell completions:
- Remove AutocompleteNetworkBackend() function
- Remove references to CNI and Netavark type constants

Backward compatibility:
- Remove --rootless-cni flag alias for podman unshare
- Remove SetNormalizeFunc that mapped rootless-cni to rootless-netns
- Update --rootless-netns flag description to mention only netavark

The --network-backend flag remains as a hidden deprecated flag to
prevent failures when upgrading from 5.x where containers may have
cleanup commands that include this flag. The flag is accepted but
ignored. Users can no longer specify CNI as a network backend option.
The --rootless-cni alias is removed; users must use --rootless-netns.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
..
podman Remove CNI backend from CLI options and completions 2026-01-27 16:32:38 +05:30
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