Files
Matthew Heon 87cca4e5e3 Modify /etc/resolv.conf when connecting/disconnecting
The `podman network connect` and `podman network disconnect`
commands give containers access to different networks than the
ones they were created with; these networks can also have DNS
servers associated with them. Until now, however, we did not
modify resolv.conf as network membership changed.

With this PR, `podman network connect` will add any new
nameservers supported by the new network to the container's
/etc/resolv.conf, and `podman network disconnect` command will do
the opposite, removing the network's nameservers from
`/etc/resolv.conf`.

Fixes #9603

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2022-02-10 09:44:00 -05:00
..
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-21 09:52:12 -05:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-02-03 13:14:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-12 17:07:30 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00