fix(bench): trixie libaio1 fallback in bench LXC installer [#709]

Redmine detail: https://projects.knownelement.com/issues/709
This commit is contained in:
2026-09-03 11:43:48 -05:00
parent d237e4a65d
commit b7eb9a5066
+2 -1
View File
@@ -52,7 +52,8 @@ pct start "$CTID"
sleep 5 sleep 5
# toolset in (same installer the guests use; piped in, nothing fetched from outside) # toolset in (same installer the guests use; piped in, nothing fetched from outside)
pct exec "$CTID" -- bash -c "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq >/dev/null; apt-get install -y -qq fio iperf3 jq libaio1 >/dev/null" # libaio1 is gone on trixie (t64 transition); fio pulls the right one itself
pct exec "$CTID" -- bash -c "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq >/dev/null; apt-get install -y -qq fio iperf3 jq libaio1 >/dev/null || apt-get install -y -qq fio iperf3 jq >/dev/null"
BDIR="/mnt/bench" BDIR="/mnt/bench"
[ -z "$STORE" ] && BDIR="/var/tmp" [ -z "$STORE" ] && BDIR="/var/tmp"