mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 11:50:14 +01:00
nm-in-container: run with "--no-hosts" to have a plain /etc/hosts in the container
The bind mount interferes with running certain CI tests that want to change /etc/hosts.
This commit is contained in:
parent
53ba9f4701
commit
33f7ee0bb7
1 changed files with 1 additions and 0 deletions
|
|
@ -579,6 +579,7 @@ do_run() {
|
|||
podman run --privileged \
|
||||
--name "$CONTAINER_NAME_NAME" \
|
||||
--dns=none \
|
||||
--no-hosts \
|
||||
-d \
|
||||
-v "$BASEDIR_NM:$BASEDIR_NM" \
|
||||
"${BIND_NM_CI[@]}" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue