From 31e51dd7479a590919d778d350db63a134693e23 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 3 Sep 2024 12:53:51 -0400 Subject: [PATCH] test/main: don't use any HTTP(S) proxy with localhost Signed-off-by: Simon Deziel --- test/main.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/main.sh b/test/main.sh index 2677d978a86a..10a193144f87 100755 --- a/test/main.sh +++ b/test/main.sh @@ -8,6 +8,11 @@ export LC_ALL="C" # Force UTC for consistency export TZ="UTC" +if [ -z "${NO_PROXY:-}" ]; then + # Prevent proxy usage for some host names/IPs (comma-separated list) + export NO_PROXY="127.0.0.1" +fi + export DEBUG="" if [ -n "${LXD_VERBOSE:-}" ]; then DEBUG="--verbose"