]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/dashboard/install-cephadm-e2e-deps.sh: Put back DISTRO 2444/head
authorDan Mick <dan.mick@redhat.com>
Tue, 16 Sep 2025 02:13:27 +0000 (19:13 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 16 Sep 2025 02:13:27 +0000 (19:13 -0700)
fcf4dfee46bfafc678a20c769d0473acb6d42af7 removed the setting
of DISTRO.  Unfortunately one usage of the variable remained
in the script.  Put back the setting.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
scripts/dashboard/install-cephadm-e2e-deps.sh

index 459491ef9f04abd3a3e944f72e6ea485e6c2892b..85f62e7b8a9cb6b2ed6506ac10cb7b214898979b 100644 (file)
@@ -45,6 +45,8 @@ sudo usermod -aG libvirt $(id -un)
 newgrp libvirt  # Avoid having to log out and log in for group addition to take effect.
 sudo systemctl enable --now libvirtd
 
+DISTRO="$(lsb_release -cs)"
+
 if [[ $(command -v docker) == '' ]]; then
     # Set up docker official repo and install docker.
     curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg