mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 19:38:39 +02:00
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". |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| data-_nm-in-container-setup.sh | ||
| data-etc-rc.local | ||
| data-nm-deploy.sh | ||
| data-nm-env-prepare.sh | ||