From 33f7ee0bb7f92900b5f7f929e4feff6f6b872472 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 15 May 2023 11:00:18 +0200 Subject: [PATCH] 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. --- tools/nm-in-container/nm-in-container | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/nm-in-container/nm-in-container b/tools/nm-in-container/nm-in-container index 87a8c0117a..a009f50d3e 100755 --- a/tools/nm-in-container/nm-in-container +++ b/tools/nm-in-container/nm-in-container @@ -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[@]}" \