From bcbcb940cbe32a147a31afaf7ef4503ffd626927 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 13 Jan 2025 14:17:50 -0500 Subject: [PATCH] tests/cgroup: avoid prompts when installing iperf3 Fixes https://github.com/canonical/lxd/issues/14772 Signed-off-by: Simon Deziel --- tests/cgroup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cgroup b/tests/cgroup index f7e24719..e2b411dc 100755 --- a/tests/cgroup +++ b/tests/cgroup @@ -200,7 +200,7 @@ lxc restart c1 --force sleep 10s IP=$(lxc network get lxdbr0 ipv4.address | cut -d/ -f1) lxc exec c1 -- apt-get update -lxc exec c1 -- apt-get install --no-install-recommends --yes iperf3 +lxc exec c1 --env DEBIAN_FRONTEND=noninteractive -- apt-get install --no-install-recommends --yes iperf3 iperf3 -s -D lxc exec c1 -- iperf3 -c "${IP}" -J > iperf.json