diff --git a/run_tests.sh b/run_tests.sh index 221a098c..35280c84 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -53,7 +53,7 @@ source /etc/os-release || source /usr/lib/os-release # Figure out the appropriate package install command case ${ID,,} in - centos|rhel|fedora) pkg_mgr_cmd="dnf install -y" ;; + centos|rhel|fedora|rocky) pkg_mgr_cmd="dnf install -y" ;; ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;; *) echo "unsupported distribution: ${ID,,}"; exit 1 ;; esac diff --git a/run_tests_common.sh b/run_tests_common.sh index f46839f4..0e7a1410 100755 --- a/run_tests_common.sh +++ b/run_tests_common.sh @@ -44,7 +44,7 @@ BINDEP_FILE=${BINDEP_FILE:-bindep.txt} # Perform the initial distribution package install # to allow pip and bindep to work. case "${ID,,}" in - amzn|centos|rhel) + amzn|centos|rhel|rocky) pkg_list="python3-devel python3-virtualenv redhat-lsb-core" ;; fedora)