From: Zack Cerza Date: Tue, 16 Sep 2025 22:57:13 +0000 (-0600) Subject: bootstrap: Drop lsb_release support X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fuv;p=teuthology.git bootstrap: Drop lsb_release support And also drop an unnecessary tr invocation. Signed-off-by: Zack Cerza --- diff --git a/bootstrap b/bootstrap index a85fe1339..8453d83a3 100755 --- a/bootstrap +++ b/bootstrap @@ -13,12 +13,8 @@ fi case "$(uname -s)" in Linux) - if command -v lsb_release > /dev/null; then - OS=$(lsb_release --id --short) - else - . /etc/os-release - OS=$(echo "$NAME" | tr -d ' ') - fi + . /etc/os-release + OS="${NAME// /}" case "$OS" in Ubuntu|Debian|LinuxMint) deps=(qemu-utils python3-dev libssl-dev libev-dev libvirt-dev libffi-dev libyaml-dev pipx build-essential jq curl)