Updated from OpenStack Ansible Tests
Change-Id: I8b9c5037bcd2de10b92295576a1eff449cac7d1b
This commit is contained in:
parent
0835aa063e
commit
d5600c48c6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue