chore: initial import from KNEL/PFVCluster@041d311 [#769]
Split per O&M lane work order. Full history: KNEL/PFVCluster. https://projects.knownelement.com/issues/769#note-4152
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# install-bench.sh — install the #709 benchmark toolset (fio + iperf3 + jq)
|
||||
# on a Debian-based guest or LXC. Idempotent. Not for Proxmox hosts directly:
|
||||
# on hosts, create the bench LXC (see lxc-bench-setup.sh) and run this inside.
|
||||
set -eu
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq fio iperf3 jq >/dev/null
|
||||
# libaio package name differs: libaio1 (bookworm) vs libaio1t64 (trixie+)
|
||||
apt-get install -y -qq libaio1 2>/dev/null || apt-get install -y -qq libaio1t64 >/dev/null
|
||||
echo "bench toolset installed: fio=$(fio --version 2>/dev/null | awk '{print $3}') iperf3=$(iperf3 --version 2>/dev/null | awk 'NR==1{print $2}')"
|
||||
Reference in New Issue
Block a user