debian-forge-composer/internal/distro
Achilleas Koutsou aed7808b03 rhel9: explicitly add containernetworking-plugins to edge
In podman v4.0.0 the default network backend was switched from cni to
netavark.  However, podman will choose cni if there are already
containers, images, or cni networks preset on a system [1].

Starting with podman v4.2.0, containernetworking-plugins is no longer a
hard requirement for podman.  So when an edge commit is built with an
embedded container, podman v4.2.0+ will choose the cni network and fail
with an error because the plugin isn't installed.

Adding the package explicitly alongside podman to avoid this issue with
future RHEL 9.1 edge builds when they include containers.

This change does not affect test manifests.  The package is already
included in manifests as a dependency of podman < v4.2.0.

See rhbz#2123210

[1] a083f790ab/pkg/config/containers.conf (L275-L278)
2022-09-02 10:00:28 +02:00
..
distro_test_common distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
fedora distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
rhel7 distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
rhel8 internal/distro/rhel8: Add GCPGuestAgentConf 2022-08-30 22:21:29 +02:00
rhel9 rhel9: explicitly add containernetworking-plugins to edge 2022-09-02 10:00:28 +02:00
test_distro distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
distro.go Add the rhsm.facts stage. 2022-08-25 18:56:35 +02:00
distro_test.go distro/fedora: drop package set name translations 2022-07-04 23:04:29 +01:00
image_config.go internal/distro: Add GCPGuestAgentConf to ImageConfig 2022-08-30 22:21:29 +02:00
image_config_test.go Rename osbuild2 package to osbuild 2022-07-14 16:54:00 +02:00