Cinder: install targetcli-fb for Bionic

The "targetcli" package no longer exists
in Bionic and has been superseded by
"targetcli-fb".

Change-Id: I99e4e8ad8fbb6e7c86571af8b0c222dafacf6447
This commit is contained in:
Eric Harney 2019-03-04 17:50:47 -05:00
parent f9f11148cf
commit 363acd9d3d

View File

@ -434,7 +434,11 @@ function install_cinder {
if [[ "$CINDER_ISCSI_HELPER" == "tgtadm" ]]; then
install_package tgt
elif [[ "$CINDER_ISCSI_HELPER" == "lioadm" ]]; then
install_package targetcli
if [[ ${DISTRO} == "bionic" ]]; then
install_package targetcli-fb
else
install_package targetcli
fi
fi
}