Updated from OpenStack Ansible Tests

Change-Id: I0b126ec423b29a096aba498c19c00d9c61901dce
This commit is contained in:
OpenStack Proposal Bot 2022-03-29 17:19:25 +00:00 committed by Marc Gariépy
parent 7cc68553d6
commit 5865695d63

View File

@ -53,7 +53,7 @@ source /etc/os-release || source /usr/lib/os-release
# Figure out the appropriate package install command # Figure out the appropriate package install command
case ${ID,,} in 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" ;; ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;; *) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
esac esac