NetworkManager/contrib
Thomas Haller a6802cfa74
nm-in-container: disable handling of "/etc/resolv.conf" in container and use 8.8.8.8.
By default, podman bind mounts a "/etc/resolv.conf" file. That prevents
NetworkManager (inside the container) to update the file, which leads to
warnings in the log and certain NM-ci tests won't pass due to that.

Disable handling of "/etc/resolv.conf" in podman. But also pre-deploy a
default resolv.conf, with the google name server 8.8.8.8.  I don't
understand why, but even with "--dns=none", writing "/etc/resolv.conf"
while building the container doesn't take effect.  Instead, write a
usable "/etc/resolv.conf" from "/etc/rc.d/rc.local".
2023-03-16 08:33:00 +01:00
..
alpine contrib/packages: install pexpect 2022-06-30 10:20:44 +02:00
art/logo artwork: introduce NetworkManager stickers 2019-09-30 17:36:59 +02:00
debian contrib: avoid using "sudo" in REQUIRED_PACKAGES scripts 2023-02-08 09:51:25 +01:00
editors contrib: add emacs config for hacking on NM 2015-08-11 13:42:26 -04:00
fedora release: improve hint about documentation in "release.sh" 2023-03-09 09:50:03 +01:00
scripts nm-in-container: disable handling of "/etc/resolv.conf" in container and use 8.8.8.8. 2023-03-16 08:33:00 +01:00