From f19ee36410080a3c596fbcbf07308a338bb4066f Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Mon, 22 Jan 2024 20:52:58 +0000 Subject: [PATCH] qa/workunits/cephadm: enable nodejs:18 on centos 9 stream Signed-off-by: Laura Flores (cherry picked from commit a602e5f0e0e48c40fd728ae382502826ca354828) --- qa/workunits/cephadm/test_dashboard_e2e.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/workunits/cephadm/test_dashboard_e2e.sh b/qa/workunits/cephadm/test_dashboard_e2e.sh index 32e0bcc771d39..13746ec6de1af 100755 --- a/qa/workunits/cephadm/test_dashboard_e2e.sh +++ b/qa/workunits/cephadm/test_dashboard_e2e.sh @@ -20,6 +20,9 @@ install_common () { $SUDO apt-get update $SUDO apt-get install nodejs elif grep -q rhel /etc/*-release; then + if grep -q "CentOS Stream 9" /etc/*-release; then + NODEJS_VERSION="18" + fi $SUDO yum module -y enable nodejs:$NODEJS_VERSION $SUDO yum install -y jq npm else -- 2.39.5