spiegel_podman/vendor/github.com/containers/common/libnetwork
Paul Holzinger 696bcd2773
use etchosts package from c/common
Use the new logic from c/common to create the hosts file. This will help
to better allign the hosts files between buildah and podman.

Also this fixes several bugs:
- remove host entries when container is stopped and has a netNsCtr
- add entries for containers in a pod
- do not duplicate entries in the hosts file
- use the correct slirp ip when an userns is used

Features:
- configure host.containers.internal entry in containers.conf
- configure base hosts file in containers.conf

Fixes #12003
Fixes #13224

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-04-22 12:59:49 +02:00
..
cni vendor c/common 2022-04-21 13:43:58 +02:00
etchosts use etchosts package from c/common 2022-04-22 12:59:49 +02:00
internal/util vendor c/common 2022-04-21 13:43:58 +02:00
netavark vendor c/common 2022-04-21 13:43:58 +02:00
network vendor c/common 2022-04-21 13:43:58 +02:00
types Vendor in new opencontainers/selinux 2022-04-08 09:02:52 -04:00
util vendor c/common@0ededd18a1 2022-03-18 15:18:30 +01:00