Skip to content

Commit

Permalink
tests/cgroup: avoid prompts when installing iperf3 (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Jan 13, 2025
2 parents e94add7 + bcbcb94 commit 36955ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cgroup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36955ff

Please sign in to comment.